update rms_originalinfo a
set a.fault_id = (select hd_fault_id from t_dz_fault_temp b where b.id = a.id)
where a.id in (select id from t_dz_fault_temp)
Oracle用一表数据更新另一表中的字段数据
猜你喜欢
转载自os586.iteye.com/blog/1859186
今日推荐
周排行