show all dates in january
SELECT * FROM table WHERE date_field LIKE '01-%';
show all dates in the year 2000
SELECT * FROM table WHERE date_field LIKE '%-%-00';
this solution is based on the actual ordering of the dates in mySQL and won't work if you switch databases as they store dates in a different order in Postgresql and oracle. there's a better way to do it that uses an included sql function that i dont remember off the top of my head right now that is a better way to do it but this will work. it would look something like this:
get all of january:
SELECT * FROM table WHERE GETMONTH(date_field) = '01';
that would be more portible but i forget the exact syntax. look at your database's documentation.
-harlan