mssql 分頁

select top @pageSize id from tablename
where id not in (
select top @offset id from tablename
)

 

select top 10 id from zd_customer_new
where id not in (
select top 3 id from zd_customer_new
)

 

select * from zd_customer_new

 

 

 

 

https://blog.csdn.net/nocomment_84/article/details/55047196

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章