musíte použít DATE
funkce kolem columnName DateTime
.
SELECT DATE(datetime) as DATE, SUM(`count`) totalCOunt
FROM tableName
GROUP BY DATE(datetime)
musíte použít DATE
funkce kolem columnName DateTime
.
SELECT DATE(datetime) as DATE, SUM(`count`) totalCOunt
FROM tableName
GROUP BY DATE(datetime)