0
点赞
收藏
分享

微信扫一扫

ql server 分页查询,开窗函数,类似mysql的limit m,n


sql server 分页查询,开窗函数

;with cte as(
select
ROW_NUMBER() OVER(order by Id ) as row,
f1,f2,f3...
from TableName
where 。。。。。
)

select * from cte where row between 6700 and 6800


举报

相关推荐

0 条评论