QQ网名大全

oracle用一张表数据更新另一张数据

update table1 set num1 = num1 + (select nvl(num2,0) from table2 where table2.id = table1.id)
--你看看是不是你要的
佚名
2024-05-21 11:26:31
最佳回答
类似问题(10)