I need a small help in mysql. Following is my table structure
I just wanted to know how can I get a result from 5/30/2011 to 6/30/2011 with a proper sql query. I tried with Between query but its not working.
Thanks
Mujahid
I need a small help in mysql. Following is my table structure
I just wanted to know how can I get a result from 5/30/2011 to 6/30/2011 with a proper sql query. I tried with Between query but its not working.
Thanks
Mujahid
SELECT * FROM mytable WHERE startdate > '5/30/2011' AND startdate < '6/30/2011'
(assuming your using date datatype for startdate)