CBSE Class 12 Informatics Practices Question 51 of 79

Database Query using SQL — Question 9

Back to all questions
9
Question

Question 9

Write a command to display the name of the current month.

Answer
SELECT MONTHNAME(CURDATE());
Output
+----------------------+
| MONTHNAME(CURDATE()) |
+----------------------+
| June                 |
+----------------------+