您的位置:首页 > 数据库

sql查询10-20行的数据

2017-08-06 15:05 162 查看
1. 

select top 20 * from 表名 where id not in (select top 10 id from 表名)

2.

select * from 表名 order by 列名 limit 9,10;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: