Basic PHP Programming Question:

How many ways we can we find the current date using MySQL?

PHP Interview Question
PHP Interview Question

Answer:

SELECT CURDATE();
SELECT CURRENT_DATE();
SELECT CURTIME();
SELECT CURRENT_TIME();


Previous QuestionNext Question
How can we find the number of rows in a result set using PHP?Give the syntax of GRANT commands?