在SQL SERVER中查询数据库中第几条至第几条之间的数据SQL语句写法

 

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

 

 

 

 

 

 

 

 

posted on 2016-08-24 14:43  那里的天空  阅读(4694)  评论(0编辑  收藏  举报

导航