1. 按年月统计数据(mysql)
select DATE_FORMAT(addtime, '%Y-%m') as my_month,count(*) from news group by my_month
1. 按年月统计数据(mysql)
select DATE_FORMAT(addtime, '%Y-%m') as my_month,count(*) from news group by my_month
288
140
165

被折叠的 条评论
为什么被折叠?