necesitas usar DATE
función alrededor de columnName DateTime
.
SELECT DATE(datetime) as DATE, SUM(`count`) totalCOunt
FROM tableName
GROUP BY DATE(datetime)
necesitas usar DATE
función alrededor de columnName DateTime
.
SELECT DATE(datetime) as DATE, SUM(`count`) totalCOunt
FROM tableName
GROUP BY DATE(datetime)