首页
mac
it
登录
6mi
u
盘
搜
搜 索
it
HAVING使用子查询
HAVING使用子查询
mac
2022-06-30
21
HAVING使用子查询 //查询各部门平均工资,显示平均工资大于 //公司整体平均工资的记录 select deptno,avg(sal) from emp group by deptno having avg(sal)>(select avg(sal) from emp);
转载于:https://www.cnblogs.com/yunman/p/5497540.html
相关资源:JAVA上百实例源码以及开源项目
转载请注明原文地址: https://mac.8miu.com/read-65294.html
最新回复
(
0
)