/ Published in: MySQL
Use this to select all fields between two different dates
Expand |
Embed | Plain Text
SELECT * FROM 'table_name' WHERE YEAR ('date_field') BETWEEN 2005 AND 2010 To DELETE all entries USE this query DELETE * FROM 'table_name' WHERE YEAR ('date_field') BETWEEN 2005 AND 2010
You need to login to post a comment.
