merge是oracle特有的语句,两表关联操作(增.删.改)就效率非常高 merge into table_name alias1 using (table|view|sub_query) alias2 on (join condition) when matched then update table_name set col1 = col_val1, col2 = col2_val when not matched then insert ( column_list ) values (…