1
在R工作組,並試圖通過運行左邊一列添加到現有的MonetDBLite表連接使用下列代碼的第二表:MonetDBLite左聯接語法
dbSendQuery(mdb, "UPDATE table1
SET table1.variable = table2.variable
FROM table1 LEFT JOIN table2 ON table1.identifier = table2.identifier;")
返回錯誤:
Server says 'syntax error, unexpected '.', expecting '=' in: "update table1
set table1."
是否MonetDB不支持點分隔符引用表中的字段?非常感謝任何見解。
你的意思是左加入? – jarlh
將'set table1.variable'更改爲'set variable'。 –
感謝您的快速響應。但沒有運氣。拋出錯誤:「服務器說'語法錯誤,意外的FROM,期待SCOLON在:」更新表1 設置變量= table2.variable f「 – charlie