Skip to content
On this page

181. Employees Earning More Than Their Managers

https://leetcode.com/problems/employees-earning-more-than-their-managers/

sql
select Name from Employee e
	where e.ManagerId is not null and e.Salary>(Select Salary
			from Employee where e.ManagerId=Id)