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

 

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

 

 

原文地址:https://www.cnblogs.com/lantianhf/p/5802905.html