FROM Employee e
SELECT count(DISTINCT Salary) FROM Employee WHERE Salary > e.Salary
) = 1
UNION (SELECT NULL) LIMIT 1;
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.