CBSE Class 12 Informatics Practices Question 75 of 81

MySQL Functions — Question 5

Back to all questions
5
Question

Question 5

Write a query to show the current date and time.

Answer
SELECT NOW();
Output
+---------------------+
| NOW()               |
+---------------------+
| 2024-05-21 12:20:03 |
+---------------------+