MySQL SELECT rows In a Date Range

by admin on January 16th, 2012

select * from  table
where  date  >= [start date] and date <= [end date]

 select * from  table
where date  between [start date] and [end date]

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>