sql分页

select * from
(select row_number() over( order by  排序的列 ) rownumber,* from ( 要分页的sql语句 ) as tem) as tem2
where rownumber > 开始于第几条  and rownumber < 结束于第几条

posted @ 2018-11-23 17:49  生命不息bug不止  阅读(213)  评论(0编辑  收藏  举报