SQL server语句中如何实现分页
select top 10 * from 表名--查询显示0-10条记录(10条)select top 10 *from 表名 where 主键 not in(select top 10 表名 from 主键);--查询显示11-20条记录(10条)
select top 10* from表名 where 主键not in (select top 20 表名 from 主键);--查询显示21-30条记录(10条)
select top 10* from表名 where 主键not in (select top 30表名 from 主键);--查询显示31-40条记录(10条)
页:
[1]