select * from tba
union select * from tbb
order by date

解决方案 »

  1.   


    select * from (
    select * from 表A
    union
    select * from 表B
    ) tab order by date desc
      

  2.   

    select * from tba
    union select * from tbb
    order by date
      

  3.   

    select * 
    into #tab
    from 表1
    select *
    into #tab
    from 表2
    select * from #tab order by date
      

  4.   

    select*
    from (select*from 表A union select* from 表B)
    order by date desc
      

  5.   

    select * from 
    (select * from 表A
    union all
    select * from 表B) s 
    order by date desc
      

  6.   

    select * 
    from (select * from a union all select * from b) 
    order by date desc