SELECT DATE_FORMAT(create_time,'%Y-%m-%d') days,COUNT(1) COUNT FROM my_log GROUP BY days ;
根据日期来分组查询每天的量
最新推荐文章于 2024-06-20 17:45:58 发布
SELECT DATE_FORMAT(create_time,'%Y-%m-%d') days,COUNT(1) COUNT FROM my_log GROUP BY days ;