select top 分页大小 字段 from 表名
where 分页字段>
(select max(分页字段) from (select top (当前页数-1) * 分页大小 分页字段 from 表名))
写给新人的数据库分页查询
最新推荐文章于 2020-05-31 22:46:12 发布
select top 分页大小 字段 from 表名
where 分页字段>
(select max(分页字段) from (select top (当前页数-1) * 分页大小 分页字段 from 表名))