原题链接
代码语言:javascript复制# Write your MySQL query statement below
select
ifnull(
(select distinct Salary from Employee
order by Salary desc
limit 1 offset 1)
,null)
as SecondHighestSalary
原题链接
代码语言:javascript复制# Write your MySQL query statement below
select
ifnull(
(select distinct Salary from Employee
order by Salary desc
limit 1 offset 1)
,null)
as SecondHighestSalary