题解 | #查找入职员工时间排名倒数第三的员工所有信息#
查找入职员工时间排名倒数第三的员工所有信息
https://www.nowcoder.com/practice/ec1ca44c62c14ceb990c3c40def1ec6c
select emp_no,birth_date,first_name,last_name,gender,hire_date
from (select *, dense_rank()over(order by hire_date desc)d
from employees)a
where d=3
from (select *, dense_rank()over(order by hire_date desc)d
from employees)a
where d=3