- 博客(2)
- 收藏
- 关注
原创 sql---排序之后获取第几个元组--limit
题目:寻找第三晚入职的员工全部信息 select * from table order by enter_date desc limit 2,1; # 上下两句等价 select * from table oreder by enter_date desc limit 1, offset 2; limit用法: limit 2,3: 跳过2个元组后,连取三个元组 limit 3,offset2: 同上用法,但是limit和offset一起用之后,limit后面只能跟一个参数 ...
2020-09-02 15:51:12
341
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人