答案 0 :(得分:0)
假设在Oracle中正确设置了这个,也许这就是你想要的:
update tblB
set UpdValue = (select UpdValue
from tblA a
where a.ID = tblB.ID
and a.date_time = (select max(date_time) from tblA x where x.ID = a.ID)
);