Oracle UPDATE... FROM, MS Sql Server (, , ANSI ). , , Oracle , , :
UPDATE ( SELECT tp.delta_balance
, tp.post_balance
, ts.balance_due
FROM table_paid tp
JOIN table_snapshot ts
ON tp.account_no = ts.account_no
)
SET delta_balance = post_balance - balance_due;
"", , Babar palindrom, table_paid, table_snapshot . 1-1, , .
, , ( ) , account_no ( "table_account" ). , , 1-1 - 15K , .
: table_snapshot , table_paid, table_snapshot table_paid . , - table_paid, ; , post_balance - balance_due -?
, - , : "ORA-01779: , , ". ( ), , . 1-1 , . Oracle : " ".
( ORA-01427: ), , ; , , .
, , account_no table_snapshot. table_paid .