I would like to know if anyone know what the query is for getting information between dates. I would like to include the days that I'm querying. In example if I have 5 items each with a different date (01-01-07, 01-02-07, 01-03-07, 01-04-07, 01-05-07) and I want to query for everything between the date of 01-01-07 and 01-04-07 (including those on 01-04-07) what would the query be. I'm currently using
SELECT * FROM production WHERE date > '2007-01-01' AND date < '2007-01-04';
but that returns between the dates and doesn't include the the last date. Hopefully that makes sense to everyone. I'm using mysql 5. Thanks for any help that you might be able to provide.
A