从数据表中读取第n条到第m条记录

网络整理 - 09-03
从数据表中读取第m条到第n条记录的方法:
select top n-m+1 * from 表名 where (id not in (select top m-1 id from 表名))
'id为表中字段名