select Name as Employee
from Employee as e1
where exists (select *
from Employee as e2
where e1.Salary > e2.Salary
and e1.ManagerId = e2.Id);
select Name as Employee
from Employee as e1
where exists (select *
from Employee as e2
where e1.Salary > e2.Salary
and e1.ManagerId = e2.Id);