create table 新表名 as select * from table1 a,table2 b where a.id=b.id……
select * into 新表名 from table1 a,table2 b where a.id=b.id……