db2 => insert into table1 ( MERCHANT_ID,SECRET_KEY) values( select '2' as MERCHANT_ID,SECRET_KEY from table1 where SECRET_KEY='88888888') DB21034E The command was processed as an SQL statement because it was not a valid Command Line Processor command. During SQL processing it returned: SQL0412N Multiple columns are returned from a subquery that is allowed only one column. SQLSTATE=42823
删除values
db2 => insert into table1 ( MERCHANT_ID,SECRET_KEY) select '2' as MERCHANT_ID,SECRET_KEY from table1 where SECRET_KEY='88888888' DB20000I The SQL command completed successfully.