Du kan bruge DATE()
funktion.
SELECT `tag`
FROM `tags`
WHERE DATE(`date`) = '2011-06-07'
For bedre ydeevne kan du dog bruge...
WHERE `date`
BETWEEN '2011-06-07'
AND '2011-06-07 23:59:59'
Du kan bruge DATE()
funktion.
SELECT `tag`
FROM `tags`
WHERE DATE(`date`) = '2011-06-07'
For bedre ydeevne kan du dog bruge...
WHERE `date`
BETWEEN '2011-06-07'
AND '2011-06-07 23:59:59'