回复: 在家帮我解决条SQL语句吧
或者你可以每次记录下该页面所显示的最小和最大的ID,然后使用下面的查询来显示上一页
select top 10 ID,ConsumerNO,Name from client
where CorporationNO=301731 and ID<最小的ID order by ID desc
如果要显示下一页,则使用:
select top 10 ID,ConsumerNO,Name from client
where CorporationNO=301731 and ID>最大的ID order by ID