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
相關文章
相關標籤/搜索