1、不太会写这种算法,暴力解
# Write your MySQL query statement below
select x.name as Employee
from Employee as x,Employee as y
where x.Id not in(select Id from Employee where ManagerId is NULL) and x.ManagerId=y.Id and x.Salary>y.Salary
1、不太会写这种算法,暴力解
# Write your MySQL query statement below
select x.name as Employee
from Employee as x,Employee as y
where x.Id not in(select Id from Employee where ManagerId is NULL) and x.ManagerId=y.Id and x.Salary>y.Salary