SELECT DATE_FORMAT(test_date,'%Y%m') AS date FROM test_table;
SELECT * FROM Project WHERE MONTH(DueDate) = 1 AND YEAR(DueDate) = 2010
SELECT YEAR(date) AS year, MONTHNAME(date) AS month FROM dates;