例子如下:
update t_yatai_deptimport ty1 inner join t_yatai_deptimport ty2
on ty1.nodeno_owner=ty2.sinopec_nodeno set ty1.bono=ty2.bono
where IFNULL(ty1.bono,'')='';
例子如下:
update t_yatai_deptimport ty1 inner join t_yatai_deptimport ty2
on ty1.nodeno_owner=ty2.sinopec_nodeno set ty1.bono=ty2.bono
where IFNULL(ty1.bono,'')='';