select * from table1 union 
select * from table2
想把上面合并的表变为table3,怎么做?
thanks

解决方案 »

  1.   

    select * from
    (
    select * from table1 union 
    select * from table2
    )table3
      

  2.   

    select * into table3 from
    (
    select * from table1 union 
    select * from table2
    ) t 
      

  3.   

    create table table3 as
    select * from table1 union 
    select * from table2
      

  4.   

    --try
    select * into table3 from
    (
    select * from table1 
    union 
    select * from table2
    )a
      

  5.   

    wangchine(争当猩猩) 
    很有创意啊