Complete the code to get the current date and time using MySQL.
SELECT [1]();The NOW() function returns the current date and time in MySQL.
Complete the code to get only the current date in MySQL.
SELECT [1]();The CURDATE() function returns only the current date in MySQL.
Fix the error in the code to get the current time in MySQL.
SELECT [1]();The CURTIME() function returns only the current time in MySQL.
Fill both blanks to select current date and current time separately.
SELECT [1]() AS today, [2]() AS now_time;
CURDATE() returns the current date, and CURTIME() returns the current time.
Fill all three blanks to select current date, current time, and current date and time.
SELECT [1]() AS current_date, [2]() AS current_time, [3]() AS current_datetime;
CURDATE() returns the current date, CURTIME() returns the current time, and NOW() returns both date and time.
