打赏

2021年1月15日

MySQL按日期分组统计(按天统计,按月统计)

摘要: 以下为您演示MySQL常用的日期分组统计方法: 按月统计(一) select date_format(create_time, '%Y-%m') mont, count(*) coun from t_content group by date_format(create_time, '%Y-%m') 阅读全文

posted @ 2021-01-15 14:57 头大的冯冯 阅读(2210) 评论(0) 推荐(0) 编辑

导航