Home » MYSQL » Mysql Setup » Question
  1. The query ‘SELECT NOW()’ shows the current _____________.
    1. date and time
    2. date only
    3. time only
    4. table
    5. None of these
Correct Option: A

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.



Your comments will be displayed only after manual approval.