SyntaxFix
Write A Post
Hire A Developer
Questions
As an alternative to the MONTH and YEAR functions, a regular WHERE clause will work too:
select * from yourtable where '2009-01-01' <= datecolumn and datecolumn < '2009-02-01'