题解 | #统计各个部门的工资记录数#

统计各个部门的工资记录数

http://www.nowcoder.com/practice/6a62b6c0a7324350a6d9959fa7c21db3

select departments.dept_no,departments.dept_name,count(salaries.emp_no) from departments left join dept_emp on departments.dept_no = dept_emp.dept_no right join salaries on dept_emp.emp_no = salaries.emp_no group by departments.dept_name order by departments.dept_no

全部评论

相关推荐

你背过凌晨4点的八股文么:简历挂了的话会是流程终止,像我一样
点赞 评论 收藏
分享
评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客企业服务