sql 语句

来源:互联网 发布:eviews导入excel数据 编辑:程序博客网 时间:2024/05/24 00:07

查询每个月 每天的数量

SELECT COUNT(*),SUBSTR(t.created_at,1,10)  FROM users t WHERE  t.created_at LIKE '2014-04%' GROUP BY SUBSTR(t.created_at,1,10);

0 0