Find the output of the following SQL statement:
SELECT DAY('2010-03-03')+MONTH('2011-04-05')+YEAR('2012-06-09');
Find the output of the following SQL statement:
SELECT DAY('2010-03-03')+MONTH('2011-04-05')+YEAR('2012-06-09');
Solution
✅ Correct Option: 2
DAY(), MONTH() and YEAR() each return a number, and the operator adds those numbers instead of joining them as text.
Related questions:
2025: 13 May Shift 2
2025: 15 May Shift 2
2026: 29 May Shift 2