1

select *
     from HumanResources.Department
     where DepartmentID>1
order by DepartmentID
offset 2 rows
fetch next 5 rows only;

offset后面的数字表示指定在何处开始返回行,fetch 则表示返回多少行

相关文章: