0
With A as (Select Trip, a from Table1),
B as (Select pattern, a from Table2),
C as (Select Trip, Pattern from Table1 inner join Table2 on Table1.a=Table2.a),
Update A
Set A.Pattern = C.Pattern
From C
WHERE C.TRIP = A.TRPIP
它給錯誤的選擇關鍵字,任何人都知道如何解決與oracle10g中的CTE更新?Missing選擇關鍵字
這不是在Oracle中有效的語法,你能解釋一下什麼是你想用樣本數據在這裏實現? –
提示:使用[合併](https://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_9016.htm) –