注意点:可能存在并列第一、并列第二的情况 思路一:在子查询中去重 方法一:group by去重 select emp_no, salary from salaries where to_date = '9999-01-01' and salary = ( select salary from salaries where to_date = '9999-01-01' group by salary order by salary desc limit 1,1 );方法二:distinct去重 select emp_no, salary from salaries where to_date =...