使用sql查询表中第m行至n行的数据

对于sqlserver2000,使用以下语句实现:sql select * from sqlserver ( select *, couts=(select count(*)+1 from table where  id<t1.id) from table t1spa ) t2 server where  couts between m and ntable   对于sqlserver2005,使
相关文章
相关标签/搜索