Informatics Practices

Write SQL statement to display

Today, the date is <current date>

SQL Queries

3 Likes

Answer

SELECT CONCAT('Today, the date is ', CURDATE()) AS CURDATE;
Output
+-------------------------------+
| CURDATE                       |
+-------------------------------+
| Today, the date is 2024-05-20 |
+-------------------------------+

Answered By

1 Like


Related Questions