sql server分页

-- 分页查询(通用型) :利用row_number关键字

select top pageSize * from (select row_number() over(order by sno asc) as rownumber,* from student) temp_row where rownumber>((pageIndex-1)*pageSize);

posted @ 2020-09-07 16:54  就一个  阅读(91)  评论(0编辑  收藏  举报