有两张表bas_student、bas_householder,
去除学生表中与家长表重复的手机号
UPDATE bas_student a,bas_householder b SET a.mobile=NULL WHERE a.mobile=b.HouseHolderMobile AND LENGTH(a.Mobile)=11;
有两张表bas_student、bas_householder,
去除学生表中与家长表重复的手机号
UPDATE bas_student a,bas_householder b SET a.mobile=NULL WHERE a.mobile=b.HouseHolderMobile AND LENGTH(a.Mobile)=11;