当前位置: 代码迷 >> Sql Server >> 查询第31行到40行之间的数据,该怎么处理
  详细解决方案

查询第31行到40行之间的数据,该怎么处理

热度:101   发布时间:2016-04-27 16:12:32.0
查询第31行到40行之间的数据
查询第31行到40行之间的数据id可能不是连续的。
如何实现啊

------解决方案--------------------
select bh=identity(int,1,1),* into # from 表
select * from # where bh between 31 and 40
  相关解决方案