select e.id, e.name, e.salary
from employee e
where salary > ANY(select salary from employee a where a.department_id = 50)
from employee e
where salary > ANY(select salary from employee a where a.department_id = 50)
本文探讨了如何使用SQL查询语句筛选出薪酬高于特定部门平均薪酬的员工,涉及子查询和比较运算符的应用。
4987

被折叠的 条评论
为什么被折叠?