方法一
select top 10 * from tablename where id not in (select top 10*4 id from tablename)
//10 每頁顯示記錄數
//4 第幾頁
//id 主健
//自己寫個函數吧,別忘了加上where 和order by條件。
方法二:(針對視圖也好用,相對第一種方法效率低一些)
select * from
(select top 20 * from v_LkFaceValue ) ss
where trnbr not in (select top 10 trnbr from v_LkFaceValue)