Skip to content

Commit

Permalink
Time: 319 ms (96.55%), Space: 0B (100.00%) - LeetHub
Browse files Browse the repository at this point in the history
  • Loading branch information
joseantoniochacon committed Jun 26, 2024
1 parent 6f5401f commit 5710ef1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Write your MySQL query statement below
Select name AS Employee FROM (SELECT Employee.name, Employee.salary, Manager.salary AS managerSalary FROM Employee LEFT JOIN Employee Manager ON Employee.managerId = Manager.id) Salaries WHERE salary > managerSalary;

0 comments on commit 5710ef1

Please sign in to comment.