select * from employees where hire_date = ( select distinct hire_date from employees order by hire_date desc limit 1 offset 2 ); SQL196 查找入职员工时间排名倒数第三的员工所有信息若存在多人(如3人)同时在最晚的一天入职的情形,必须要考虑去重(使用distinct或者group by)distinct和group by的执行顺序都在limit前面