How to get records from table based on Year and Month?
Anonymous
SELECT * FROM tablename WHERE MONTH(tablename .happened_at) = 1 AND YEAR(tablename .happened_at) = 2009 It will get records of January,2009
Check out your Company Bowl for anonymous work chats.