πŸ“Š MySQL
Q. Which of the following query is correct to get Current Date from Query?A. SELECT DATE ( NOW() ) as today;B. SELECT DATE_FORMAT( NOW( ) , '%Y-%m-%d' ) as today;
  • (A) SELECT DATE ( NOW() ) as today;
  • (B) SELECT DATE_FORMAT( NOW( ) , '%Y-%m-%d' ) as today;
  • (C) Both A and B
  • (D) None
πŸ’¬ Discuss
βœ… Correct Answer: (C) Both A and B

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
198
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Yatendra Sir
Publisher
πŸ“ˆ
85%
Success Rate