现在的位置: 首页 > 综合 > 正文

取第m页记录

2013年09月13日 ⁄ 综合 ⁄ 共 134字 ⁄ 字号 评论关闭

 

select top 页大小 * from table1 where id> (select max (id) from (select top ((页码-1)*页大小) id from table1 order by id) as T ) order by id 

抱歉!评论已关闭.