トピック:
トピックリンク: https://leetcode-cn.com/problems/second-highest-salary/
問題解決のアイデア:
キーワード制限を使用してオフセットメインのテストサイト
IFNULL裁判官を使用する必要があるので、ノー2番目に高い給与があるかもしれない、という注意
SQL:
select (select distinct Salary from Employee order by salary desc limit 1 offset 1) as SecondHighestSalary