📜  查找第 n 或第 5 高薪水记录 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:08.526000             🧑  作者: Mango

代码示例3
SELECT Salary FROM Worker ORDER BY Salary DESC LIMIT n-1,1;
SELECT SALARY FROM Worker ORDER BY Salaly DESC LIMIT 5,1;