leetcode数据库题目及答案汇总

一、 第二高的薪水 select ifnull((select distinct Salary from Employee order by Salary desc limit 1,1),null) as SecondHighestSalary;   二、第N高的薪水 select distinct Salary from Employee e where N = (select count(di
相关文章
相关标签/搜索