MERGE INTO Alex_Table1 t1 USING Alex_Table2 t2 ON (t1.PK = t2.PK) WHEN MATCHED THEN UPDATE SET t1.VAL = t2.VAL