MySQL -Gruppe für Monat
select count(*), DATE_FORMAT(timestamp, "%Y-%m-01")
from title
group by DATE_FORMAT(timestamp, "%Y-%m-01")
Bug Killer
select count(*), DATE_FORMAT(timestamp, "%Y-%m-01")
from title
group by DATE_FORMAT(timestamp, "%Y-%m-01")
GROUP BY DATE_FORMAT(record_date, '%Y%m')
GROUP BY DATE_FORMAT(created_at, '%Y%m%d')
SELECT SUM(foo), DATE(mydate) FROM a_table GROUP BY DATE(a_table.mydate);