Skip to content

Commit

Permalink
Time: 2326 ms (5%), Space: 0B (100%) - LeetHub
Browse files Browse the repository at this point in the history
  • Loading branch information
hovanhoa committed Oct 23, 2023
1 parent 004ac76 commit 47776e5
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Write your MySQL query statement below
SELECT e1.name as Employee
FROM Employee e1
WHERE e1.managerId is not null and e1.salary > (select salary from Employee e2 where e1.managerId = e2.id)

0 comments on commit 47776e5

Please sign in to comment.