update BANKFROZENFLOW a set (a.Companycode,a.departmentid)=
(select nvl(b.Companycode,1), nvl(b.departmentid,1) from SECUACCINFO b where b.bankaccount=a.bankaccount)
(select nvl(b.Companycode,1), nvl(b.departmentid,1) from SECUACCINFO b where b.bankaccount=a.bankaccount)
(select nvl(b.Companycode,1), nvl(b.departmentid,1) from SECUACCINFO b where b.bankaccount=a.bankaccount)
where exists (select 1 from SECUACCINFO b where b.bankaccount=a.bankaccount )