2020-06-16
阅读量:
618
难搞
-- 限制查询结果数量
-- 查询基本工资最高的前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;






评论(0)


暂无数据