We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a31438 commit b88fdf8Copy full SHA for b88fdf8
181-employees-earning-more-than-their-managers.sql
@@ -0,0 +1,4 @@
1
+# Write your MySQL query statement below
2
+SELECT Name AS Employee FROM Employee AS E,
3
+(SELECT DISTINCT Id, Salary FROM Employee) AS M
4
+WHERE E.ManagerId = M.Id AND E.Salary > M.Salary
0 commit comments