更新表T1.A列(根据T1.A列和T2.B列关联)
update T1 set T1.A列=
(select T2.A列 from T2 where T2.B列=T1.A列 and rounum<=1)
where exists(select 1 from T2 where T2.B列=T1.A列 )
来源:CSDN
作者:qqqq2752258
链接:https://blog.csdn.net/qqqq2752258/article/details/104312603