天天看點

sql 分頁查詢二

适用于sql server2000/2005

select top 頁大小*

from table

where id not in(

  select top 頁大小*(頁數-1) id from table order by id

)

order by id