Oracle多表关联更新

update sdzy_operatlist1 a   -- 使用别名
   set    (enddate,isred)=(select b.enddate,b.isred
                                     from   sdzy_operatlist b
                                     where  B.LOG_ID=A.Log_Id)
   where  exists (select 1
                  from   sdzy_operatlist b
                  where  B.LOG_ID=A.Log_Id
                 )
原文地址:https://www.cnblogs.com/amylis_chen/p/1627227.html