SQL高效 分页

select * from 
(select row_number()over(order by id)rownumber,* from pagetest)a
where rownumber between 9901 and 9950

你可能感兴趣的:(SQL高效 分页)