Dashboard Temp Share Shortlinks Frames API

HTMLify

Day 20
Views: 21 | Author: djdj
1
2
3
4
5
6
7
8
9
/*
	https://leetcode.com/problems/employees-earning-more-than-their-managers/description/
*/

# Write your MySQL query statement below
SELECT e.name AS Employee 
FROM Employee e, Employee a
WHERE e.managerID = a.id 
AND e.salary > a.salary;