Which of the following SQL functions are used to perform operations on date?
(A) DATE()
(B) MONTH()
(C) NOW()
(D) CURRTIME()
Which of the following SQL functions are used to perform operations on date?
(A) DATE()
(B) MONTH()
(C) NOW()
(D) CURRTIME()
Solution
✅ Correct Option: 4
DATE() extracts the date part of a date-time value, MONTH() returns the month number from a date, and NOW() returns the current date and time. All three work with dates, so (A), (B) and (C) are correct.
Options 1, 2 and 3: they include (D), but CURRTIME() is not an SQL function. The real MySQL function is CURTIME() (or CURRENT_TIME()), and it returns only the time, not the date.
Related questions:
2025: 20 May Shift 1
2025: 15 May Shift 2
2026: 11 May Shift 2
2025: 14 May Shift 1