mysql按类别查询数据量

SELECT channel, count(*) from crawled_goods where datediff(created_at,NOW())=0 and channel like '%yijiupi%'
GROUP BY( channel)

猜你喜欢

转载自www.cnblogs.com/qiaoer1993/p/10861020.html
今日推荐