Beats 97.38%


  • 0
    N

    select max(t.Salary) as SecondHighestSalary
    from (select Salary from Employee where Salary <> (select max(Salary) from Employee)) as t


Log in to reply
 

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