Oracle 查询并修改

update test1 a set a.name=(select b.name from test2 b where a.id=b.id) where a.id in (select id from test2);

 

posted @ 2017-03-07 19:42  李清欣  阅读(1017)  评论(0编辑  收藏  举报