oracle 多表更新
update a set(a.province,a.city)=(select province,city from b where b.mobile=a.mobile)
实际更新要加限制条件,防止全表更新。
update a set(a.province,a.city)=(select province,city from b where b.mobile=a.mobile)where a.city is null
转载于:Oracle/3522527
oracle 多表更新
update a set(a.province,a.city)=(select province,city from b where b.mobile=a.mobile)
实际更新要加限制条件,防止全表更新。
update a set(a.province,a.city)=(select province,city from b where b.mobile=a.mobile)where a.city is null
转载于:Oracle/3522527