CREATE FUNCTION getNthHighestSalary(N INT) RETURNS INT
SET N = N-1;
# Write your MySQL query statement below.
group by Salary
order by Salary desc limit 1 offset N
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.