查找出部门 10 和部门 20 中,工资最高第 3 名到第 5 名的员工的员工名字,部门名字,部门位置
select d.dname, d.loc, e.ename from dept d, (select ename, sal, deptno, rownum no from (select * from emp where deptno in (10, 20) order by sal desc)) e where d.deptno = e.deptno and e.no between 3 and 5;