select * from table1 order by 字段 DESC

解决方案 »

  1.   

    select * from table1 order by 入库时间 DESC
      

  2.   

    一般的select * from tabel是按入库顺序显示出来
                                 ~~~~~~~~~~~~~~~~这个,不一定吧
      

  3.   

    那就只好用临时表了.select id=identity(int,1,1),* into #tb from table1select * from #tb order by id descdrop table #tb
      

  4.   

    一般的select * from tabel是并不是按入库顺序显示出来的,而是按主键排序显示的
    所以你要select * from tabel order by 主键 desc 就是了如果要按入库顺序显示出来,你得在表结构里加个字段才行