CBSE Class 12 Informatics Practices Question 62 of 81

MySQL Functions — Question 13

Back to all questions
13
Question

Question 6

Write a command to display the name of current month.

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