【leetcode】181. 超过经理收入的员工

题目:

【leetcode】181. 超过经理收入的员工_第1张图片

答案:

# Write your MySQL query statement below
select 
a.Name as Employee 
from Employee a join Employee b  on a.ManagerId = b.Id and a.Salary > b.Salary

你可能感兴趣的:(leetcode学习记录)