要对所有插入的记录使用固定值’doSomething’和’true’,请执行以下操作:
insert into table2 (Xid, configKey, ConfigVal)select id, 'doSomething', 'true'from table1

要对所有插入的记录使用固定值’doSomething’和’true’,请执行以下操作:
insert into table2 (Xid, configKey, ConfigVal)select id, 'doSomething', 'true'from table1