我认为更好的方法:merge into t1 tusing (select a2, b2 from t2) son ( t.c1 = '2008-05-31' and t.d1 = s.d2 )when matched then update set t.a1 = s.a2, t.b1 = s.b2
显示全部我认为更好的方法:
merge into t1 t
using (select a2, b2 from t2) s
on ( t.c1 = '2008-05-31' and t.d1 = s.d2 )
when matched then update set t.a1 = s.a2, t.b1 = s.b2
收起