Solveeit Logo

Question

Computer Science Question on SQL

Consider the following SQL functions:
(A) CURDATE()
(B) CURRENT DATE()
(C) CURRENT DATE
(D) TODAY()

A

(A), (B), and (D) only

B

(A), (B), and (C) only

C

(A), (B), (C), and (D)

D

(B), (C), and (D) only

Answer

(A), (B), and (C) only

Explanation

Solution

SQL functions CURDATE(), CURRENT DATE(), and CURRENT DATE return the current date. TODAY() is not a standard SQL function.