企业🤖AI Agent构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
[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 ```