ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
[181\. 超过经理收入的员工](https://leetcode-cn.com/problems/employees-earning-more-than-their-managers/) === ![](https://box.kancloud.cn/666b3a936ff1bf31fb4cbbb9f444b7cb_550x436.png) ``` SELECT b.Name as Employee FROM Employee as a, Employee as b WHERE a.Id = b.ManagerId AND a.Salary < b.Salary ``` ### 方法二 ``` SELECT a.Name as Employee FROM Employee as a Join Employee as b ON a.ManagerId = b.Id WHERE a.Salary > b.Salary ```