Take a look at GW

摘要: 方式1: 假设页数是10,现在要拿出第5页的内容,查询语句如下: --10代表分页的大小 select top 10 * from test where id not in ( --40是这么计算出来的:10*(5-1) select top 40 id from test order by id 阅读全文
posted @ 2018-06-21 13:25 HDWK 阅读(486) 评论(0) 推荐(0) 编辑