SELECT * FROM employees WHERE hire_date = ( SELECT hire_date FROM employees GROUP BY hire_date ORDER BY hire_date DESC LIMIT 2, 1 ); 先用group by进行分组避免重复数据,在用order by进行降序排序,对排序完成后的数据进行取值limit 2,1 取第二个开始的第一个数据