题解:
select * from employees order by hire_date desc limit 2,1;
知识点:limit
1、limit n 查找前n行记录
2、limit n,m 从第n行开始,查找m行记录,有时也写作limit M offset N
3、第一个被检索的行是第 0行,而不是第 1行
题解:
select * from employees order by hire_date desc limit 2,1;
知识点:limit
1、limit n 查找前n行记录
2、limit n,m 从第n行开始,查找m行记录,有时也写作limit M offset N
3、第一个被检索的行是第 0行,而不是第 1行