insert into b select * from a

解决方案 »

  1.   

    select * from A union all select * from B
      

  2.   

    select * from a
    union all
    select * from b
      

  3.   

    我只是逻辑上合并   并不是物理上合并这两个表啊
    所以能用select语句实现么?
      

  4.   

    那就这个罗:select * from A union all select * from B
      

  5.   

    select * into newtable where 
    (select * from table1
    union 
    select * from table2)a