Sunday, 15 August 2010

mysql select between two date ranges using BETWEEN -


I am trying to choose between two date ranges and my query does not work.

This is my query ... what have I done wrong? Created between 'sales_flat_order' WHERE from

  SELECT * '2015-03-17 18:33:45' AND '2015-02 -12 22:18:41'  

is less than between, you have high to reduce

< '>' 2015-03-17 18:33:45 'AND' 2015-02-12 22:18:41 '

may be

between

>

  between '2015-02-12 22:18:41' AND '2015-03-17 18:33:45'  

No comments:

Post a Comment