update tbs_budget_condition set brand_id = SUBSTRING_INDEX(target_level_path_ids,'_',1) update tbs_budget set center_combo = concat(center_type,'_',center_id) update vtb_verification v left join tbs_activity act on act.id = v.activity_id set v.activity_code = act.activity_code where v.verification_main_code like 'DHX%'