17,086
社区成员
发帖
与我相关
我的任务
分享
select birthday, count(*) from table1 group by birthday order by birthday
例子如下:
SELECT TRUNC(S.HIREDATE, 'mm'), COUNT(*)
FROM SCOTT.EMP S
GROUP BY TRUNC(S.HIREDATE, 'mm');
[Quote=引用楼主 churentoudi 的帖子:]