oracle inner join substitution

MERGE INTO table_b
USING
(
 
SELECT id ,
         field_2
 
FROM table_a
) ta ON ( ta . id = table_b . id )
WHEN MATCHED THEN UPDATE
   
SET table_b . field_2 = ta . field_2

你可能感兴趣的:(oracle inner join substitution)