17,086
社区成员
发帖
与我相关
我的任务
分享
update infotemp set occurdate = '2011/04/07',bal = (select bal from tempnew a where infotemp.acno=a.acno) where exists (select 1 from tempnew c where infotemp.acno = c.acno)
update infotemp
set occurdate = '2011/04/07',
bal =tempnew.bal
from infotemp
join tempnew
on infotemp.acno = tempnew.acno
update infotemp
set occurdate = '2011/04/07',
bal =tempnew.bal
join tempnew
on infotemp.acno = tempnew.acno
update infotemp
set occurdate = to_date('2011/04/07',yyyy/mm/dd)
bal = (select bal from tempnew a where infotemp.acno=a.acno)
where exists
(select 1 from tempnew c where infotemp.acno = c.acno);