在oracle中怎么把一张表的数据插入到另一张表中
问题描述:
[b]怎么把一张表的数据插入到另一张表中,不考虑这两张表的约束条件,且这两张表的字段都是一致的,[/b]
[b]问题补充:[/b]
如果 两张表中有相同数据 怎么把它剔除了
答
把table2表的数据插入到table1中
insert into table1 select * from table2
答
//删除table1
delete from table1 where table1.name =table2.name and table1.**=table2.**......