42. oracle通过两张表的一个字段对应,update其中一张表的某个字段

update A a set a.A2 = (select b.B2 from B b where b.B1=a.A1) where exists (select 1 from B where B.B1=a.A1)

猜你喜欢

转载自www.cnblogs.com/zkx4213/p/9099265.html
42.