2020-06-16
阅读量:
972
难搞
-- 限制查询结果数量
-- 查询基本工资最高的前5位员工
select *
from emp
order by sal desc
limit 5;
select *
from emp
order by sal desc
limit 0,5;
-- 查询基本工资第6到10名的员工
select *
from emp
order by sal desc
limit 5,5;
29.9536
4
4
关注作者
收藏
评论(0)
发表评论
暂无数据

