1
這裏有2個問題。哪一個是正確的?如何編寫這個嵌套查詢?
SELECT link.[xlink:Show].
Location.[xlink:show],
link.[xlink:actuate],
Location.[xlink:actuate],
FROM Sem
JOIN Location AND
Link join Location ON
link. link_id = Location.link_id);
錯誤:關鍵字'AND'附近的語法不正確。
SELECT link.[xlink:Show],
Location.[xlink:show],
link.[xlink:actuate],
Location.[xlink:actuate],
Sem.SemRole
FROM Sem, Link
JOIN Location ON link. link_id = Location.link_id);
錯誤:無法綁定多部分標識符「Sem。SemRoleId」。
這是SQL服務器,MySQL的沒有。 – Johan