📜  按创建日期计数的 mysql 记录组 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:18.289000             🧑  作者: Mango

代码示例1
//count for every date:

SELECT date(created_at), COUNT(*)
FROM message_requests
GROUP BY date(created_at)