limit m,n
跳过m条数据,取n行数据
牛客网例题17: 获取当前薪水第二多的员工的emp_no以及其对应的薪水salary
select emp_no, salary
from salaries
where salary = (select salary from salaries order by salary desc limit 1,1)
标签:salary,no,salaries,limit,emp,MySQL,方法,select
来源: https://blog.csdn.net/weixin_45152202/article/details/120535244