Skip to content

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)