ORACLE MERGE INTO DELETE 注意源表和目标表数据都要唯一 merge into PERSONCERTIFICATEBAK b using (select ids from person_cer_dele ) u on (b.id = u.ids) when matched then update set b.personguid = b.personguid delete where (b.id = u.ids);