1.

The query ‘SELECT NOW()’ shows the current _____________(a) table(b) time only(c) date only(d) date and timeThis question was addressed to me during an interview.I'm obligated to ask this question of MySQL Setup in division General MySQL Use of MySQL

Answer»

Correct choice is (d) date and time

The BEST explanation: SELECT NOW() is an SQL query. It SHOWS both the current date and the current time. It is generally DISPLAYED in the format ‘yyyy-mm-dd hh-mm-ss’. For EXAMPLE, 2009-04-21 11-51-36.



Discussion

No Comment Found

Related InterviewSolutions