摘要: --1分组统计各部门下工资>2000 的员工的平均工资select avg(s.sal) from (select * from emp e where e.sal>2000) s group by deptno; --2 统计各部门下平均工资大于 1600 的部门select e.deptno,a 阅读全文
posted @ 2017-01-10 23:44 小摔哥#1 阅读(1001) 评论(0) 推荐(0) 编辑