获得 表中 第4条数据到第10条数据的sql语句

解决方案 »

  1.   

    select top 6  *   from   tablename where id Not In(select  top 4  id   FROM   tablename)
      

  2.   


    如果 加上 2个where 以及排序就不行了
      

  3.   

    两个select 都加条件+排序
    [align=center]*****************************************
    本内容使用CSDN小秘书回复
    每天回帖即可得10分可用分!
    *****************************************[/align]