update t1 set t1.instancecount=t2.instancecount from TT_V_T_2 t1,tt_v_t2 t2 where t1.ActivityName = t2.ActivityName
在sql里面可以这样来修改数据,但是在oracle里面要怎么转换才能修改?求解答
------解决方案--------------------
SQL code
update t1
set instancecount=
(select t2.instancecount
from TT_V_T_2 t1,tt_v_t2 t2
where t1.ActivityName = t2.ActivityName)
------解决方案--------------------