mysql关联更新update
2019-07-16 本文已影响0人
激扬文字
mysql关联更新update,mysql关联修改
关联修改a表,将b表数据赋值给b表
update t_ifcert_productcfg cfg,t_project_invest invest
set cfg.sourceProductCode=invest.Project_id
where cfg.finClaimId=invest.Invest_id
关联修改a表,将b表数据赋值给b表
update t_ifcert_productcfg cfg,t_project_invest invest
set cfg.sourceProductCode=invest.Project_id
where cfg.finClaimId=invest.Invest_id