怎样将Oracle一张表的多个字段更新到另一张表中去
假设表a中有多个字段(province ,city)需要从b表获取(两张表的mobile一样),总结了几种写法。一、updatea set a.province=(select province from b where b.mobile=a.mobile);updatea set a.city=(select cityfrom b where b.mobile=a.mobile);这种写法效率太...
原创
2018-04-10 11:36:58 ·
4340 阅读 ·
2 评论