给你个例子,
CREATE TABLE a
(
ID NUMBER,
NAME VARCHAR2(100 BYTE),
PID NUMBER DEFAULT 0
);
CREATE TABLE b
(
ID NUMBER,
NAME VARCHAR2(100 BYTE),
PID NUMBER DEFAULT 0
xb VARCHAR2(100)
);
insert into b
select id , name , pid ,' ' xb from a