日期:2014-05-17 浏览次数:21007 次
SQL> create table t2 as select empno,ename from emp; Table created. SQL> truncate table t2; Table truncated. SQL> insert into t2(empno) select empno from emp; 14 rows created.
------解决方案--------------------
insert into table1 (a,b) select 123, id from table2
看看这样行不行
------解决方案--------------------