Simply use MONTH() and YEAR():
SELECT * FROM Project WHERE MONTH(DueDate) = 1 AND YEAR(DueDate) = 2010
More Related Contents:
- Should I use the datetime or timestamp data type in MySQL?
- Delete all Duplicate Rows except for One in MySQL? [duplicate]
- MySQL string replace
- What is the difference between utf8mb4 and utf8 charsets in MySQL?
- Compare two MySQL databases [closed]
- MySQL – Trigger for updating same table after insert
- How do I get the current time zone of MySQL?
- How to get the difference in years from two different dates?
- Mysql Convert Column to row (Pivot table )
- MySQL grant all privileges to database except one table
- Writing optional parameters within stored procedures in MySQL? [duplicate]
- How to get all columns’ names for all the tables in MySQL?
- How do I get MySQL to use an INDEX for view query?
- Can I resolve this with pure mysql? (joining on ‘;’ separated values in a column)
- Restore the mysql database from .frm files
- Mysql insert random datetime in a given datetime range
- How to get number of rows affected, while executing MySQL query from bash?
- Greatest value of multiple columns with column name?
- insert data from one table to another in mysql
- MySQL UPDATE syntax with multiple tables using WHERE clause
- How does MySQL Auto Increment work?
- MySQL load data infile – acceleration?
- mysql – Dynamic column alias
- MySQL Fulltext Search Score Explained
- Mysql performance on 6 million row table
- How can I “select *” from a table in MySQL but omit certain columns?
- For homebrew mysql installs, where’s my.cnf?
- MySQL Select Multiple VALUES
- Force MySQL to return duplicates from WHERE IN clause without using JOIN/UNION?
- comparison of truncate vs delete in mysql/sqlserver [duplicate]