中最
-
Oracle update关联表的思路总结
1、 其中最普通的是update t1 set b=(select b from t2 where t1.a=t2.a); 但是,要注意空值的影响, 如果怕空值的影响,要写成 update t1 set tname= (select sname from t2 where t1.id=t2.id) …
*本站广告为第三方投放,如发生纠纷,请向本站索取第三方联系方式沟通
1、 其中最普通的是update t1 set b=(select b from t2 where t1.a=t2.a); 但是,要注意空值的影响, 如果怕空值的影响,要写成 update t1 set tname= (select sname from t2 where t1.id=t2.id) …