1
select * from HumanResources.Department where DepartmentID>1order by DepartmentIDoffset 2 rowsfetch next 5 rows only;
offset后面的数字表示指定在何处开始返回行,fetch 则表示返回多少行
本文共 216 字,大约阅读时间需要 1 分钟。
1
select * from HumanResources.Department where DepartmentID>1order by DepartmentIDoffset 2 rowsfetch next 5 rows only;
offset后面的数字表示指定在何处开始返回行,fetch 则表示返回多少行
转载于:https://www.cnblogs.com/mibing/p/7521889.html