CBSE Class 12 Informatics Practices Question 65 of 81

MySQL Functions — Question 16

Back to all questions
16
Question

Question 9

Write a command to display the current time.

Answer
SELECT TIME(NOW());
Output
+-------------+
| TIME(NOW()) |
+-------------+
| 15:40:57    |
+-------------+