Skip to main contentSkip to solution

Match List-I with List-II

List-I - SQL DATE FUNCTIONSList-II - DESCRIPTION
(A) NOW()(I) returns the date part from the given date/ time expression
(B) DATE()(II) returns the day part from the date
(C) DAY(date)(III) returns the month name from the specified date
(D) MONTHNAME(date)(IV) returns the current system date and time

Solution

✅ Correct Option: 2
List IList II
(A) NOW()(IV) returns the current system date and time
(B) DATE()(I) returns the date part from the given date/time expression
(C) DAY(date)(II) returns the day part from the date
(D) MONTHNAME(date)(III) returns the month name from the specified date

NOW() gives both date and time, while DATE() strips the time and keeps only the date. DAY() returns the day number (1 to 31), and MONTHNAME() returns the name, such as January.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question