2021-02-21
作者:互联网
SELECT *
FROM employees
ORDER BY hire_date DESC
LIMIT 2,1 ;
考虑去重:
SELECT *
FROM employees
WHERE hire_date = (
SELECT DISTINCT hire_date
FROM employees
ORDER BY hire_date DESC
LIMIT 2,1
)
标签:02,hire,21,employees,LIMIT,2021,date,ORDER,SELECT 来源: https://blog.csdn.net/weixin_45378366/article/details/113918665