update tbl_DW_1fSUniverse_#attributes.ownerType##attributes.ownerId# set clientOperatorId = where operatorChoId = and clientOperatorId is null and not exists ( select * from tbl_DW_1fSUniverse_#attributes.ownerType##attributes.ownerId# x where x.clientOperatorId = )