CBSE Class 12 Informatics Practices Question 64 of 81

MySQL Functions — Question 15

Back to all questions
15
Question

Question 8

Write command to print the day of the week of your Birthday in the year 1999.

Answer
SELECT DAYOFWEEK('1999-07-21');
Output
+-------------------------+
| DAYOFWEEK('1999-07-21') |
+-------------------------+
|                       4 |
+-------------------------+