group by de.dept.no 而不是group by d.dept.no,应该是按照原来的部门表进行分组 还有就还有一句ORDER BY d.dept_no
点赞

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务