关联子查询 和 嵌套子查询
select a.* from emp a ,(select deptno,avg(sal) sal from emp group by deptno) bwhere a.deptno=b.deptnoand a.sal < b.sal ;