select e1.Name Employee
from Employee e1,Employee e2
where e1.ManagerId=e2.Id and e1.Salary>e2.Salary;
LeetCode-SQL-181. 超过经理收入的员工-easy
最新推荐文章于 2021-10-29 09:18:57 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)
select e1.Name Employee
from Employee e1,Employee e2
where e1.ManagerId=e2.Id and e1.Salary>e2.Salary;