从publish 表中取出第 n 条到第 m 条的记录:
select top m-n+1 *
from publish
where (id not in
(select top n-1 id
from publish))
id 为publish 表的关键字
从publish 表中取出第 n 条到第 m 条的记录:
select top m-n+1 *
from publish
where (id not in
(select top n-1 id
from publish))
id 为publish 表的关键字