alecks Posted October 8, 2007 Share Posted October 8, 2007 How do I query the database to select all the data from say, March 2007? There is a "date" column Thanks Quote Link to comment https://forums.phpfreaks.com/topic/72359-selecting-rows-between-dates-years-and-months/ Share on other sites More sharing options...
roopurt18 Posted October 8, 2007 Share Posted October 8, 2007 SELECT * FROM tbl WHERE dateCol >= '2007-05-01' Quote Link to comment https://forums.phpfreaks.com/topic/72359-selecting-rows-between-dates-years-and-months/#findComment-364925 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.