order by的简单应用,由于是返回倒数第三的员工信息,所以要降序desc排列,再利用limit函数,取降序排列第三个数。
select * from employees order by hire_date desc limit 2,1;