CBSE Class 12 Informatics Practices Question 12 of 27

Database Query using SQL — Question 10

Back to all questions
10
Question

Question 10

Write a 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 |
+-------------------------+
Get the Bright Tutorials app Stuck on a question? Ask Bright Buddy — your AI tutor — for step-by-step help in the app.