select extract(month from hiredate) 入职月份,count(*) 人数 from emp
where extract(year from hiredate)='1981' group by extract(month from hiredate) order by 入职月份;
结果:
本文主要是介绍求1981年各个月入职的的员工个数,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
select extract(month from hiredate) 入职月份,count(*) 人数 from emp
where extract(year from hiredate)='1981' group by extract(month from hiredate) order by 入职月份;
结果:
转载于:https://www.cnblogs.com/feng666666/p/5900317.html
这篇关于求1981年各个月入职的的员工个数的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!
http://www.chinasem.cn/article/337056。
23002807@qq.com