image_2022-01-05_18-17-32.png
26.5 KB
#N181. Employees Earning More Than Their Managers
problem link
#solution
problem link
#solution
select t1.name as Employee from Employee t1, Employee t2
where t1.managerId = t2.id and t1.salary>t2.salary;