how to get any row in a table ewhere month and year of a date object code example
Example: mysql select month and year
SELECT DATE_FORMAT(test_date,'%Y%m') AS date FROM test_table;
SELECT DATE_FORMAT(test_date,'%Y%m') AS date FROM test_table;