WHERE BETWEEN '2011-01-03' AND '2011-01-01'
har brug for et kolonnenavn for at blive sammenlignet. Er det date
kolonne?
Så skulle din forespørgsel se sådan ud:
SELECT *
FROM `stats`
WHERE `date` BETWEEN '2011-01-01' AND '2011-01-03'
AND `email`='[email protected]'
AND `city`='New York'
AND `location`='New York'
GROUP BY action