update insuredaccount set en_lastyear_remain=(select en_fare from insuredaccountall
where insuredaccountall.l_insured_id=insuredaccount.l_insured_id and insuredaccountall.C_ACCOUNT='A')
where INSUREDACCOUNT.C_ACCOUNT='A' and exists
(select 1 from insuredaccountall
where insuredaccountall.l_insured_id=insuredaccount.l_insured_id and insuredaccountall.C_ACCOUNT='A')