发布网友 发布时间:2024-12-13 00:11
我来回答
共1个回答
热心网友 时间:2024-12-14 01:54
select count(e.ename),d.dname from emp e right join dept d on e.deptno=d.deptno group by d.dname order by d.dname desc用一个外连接就可以搞定