Why this is not working?


  • 0
    N

    SELECT MIN(Salary) "NthHighestSalary" FROM (SELECT DISTINCT TOP N Salary FROM Employee where 1 ORDER BY Salary DESC)


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.