前台经常用到的分页语句,这里总结一下:
select top 10 * from cms_release
where release_id not in (select top ((9-1)*10) release_id from cms_release)
传送门:高效的SqlServer分页