Answers for "mysql date get year and month"

SQL
1

mysql select month and year

SELECT DATE_FORMAT(test_date,'%Y%m') AS date FROM test_table;
Posted by: Guest on April-27-2020
0

mysql query date year

SELECT book_name,dt_of_pub,YEAR(dt_of_pub)
FROM book_mast
WHERE YEAR(dt_of_pub)>2003;
Posted by: Guest on June-14-2020

Code answers related to "mysql date get year and month"

Code answers related to "SQL"

Browse Popular Code Answers by Language