State the output:
SELECT MONTH('2003/11/6');
State the output:
SELECT MONTH('2003/11/6');
Solution
✅ Correct Option: 2
MONTH() returns the month part of a date as a number between 1 and 12. In '2003/11/6' the format is year/month/day, so the month is 11 and the output is 11.
Option 1: 6 is the day, not the month. DAY() would return it.
Options 3 and 4: MONTH() returns a number, not a name. The name is given by MONTHNAME(), which would return November.
Related questions:
2026: 11 May Shift 2
2025: 16 May Shift 1
2026: 20 May Shift 1
2026: 29 May Shift 1
2025: 16 May Shift 1