du skal bruge DATE
funktion omkring kolonnenName DateTime
.
SELECT DATE(datetime) as DATE, SUM(`count`) totalCOunt
FROM tableName
GROUP BY DATE(datetime)
du skal bruge DATE
funktion omkring kolonnenName DateTime
.
SELECT DATE(datetime) as DATE, SUM(`count`) totalCOunt
FROM tableName
GROUP BY DATE(datetime)