Oracle修改记录——用另外一个表的查询值更改当前表的多个字段

update table1 a -- 使用别名 set (a.xm,a.cj)=(select b.xm,b.cj from table2 b where b.xh=a.xh) where exists (select 1 from table2 b where b.xh=a.xh ); 总感受这样效率很低0.0 ,完成任务为主吧。web
相关文章
相关标签/搜索