CBSE Class 12 Computer Science Question 32 of 78

Simple Queries in SQL — Question 8

Back to all questions
8
Question

Question 8

How would you display system date as the result of a query ?

Answer

The current system date can be obtained, using function CURDATE(), as shown below :
mysql>SELECT CURDATE();.