1.找到排名倒数第三的入职时间 思路: 通过order by 对入职时间进行降序排序, 用distinct对入职时间进行去重, 用limit 分页取出第三条数据 select distinct hire_date from employees order by hire_date desc limit 2,1 distinct a (对字段a数据进行去重) order by a desc (对字段a进行降序排序) limit a,b (a表示从第a+1条开始取(包含第a+1条),b表示取b条数据) 2.在员工表中查入职时间等于排名倒数第三的入职时间的员工全部信息 select * fro...