0
我有以下查詢,我不知道爲什麼我得到錯誤Syntax error in FROM clause
。FROM子句中的MS Access語法錯誤
SELECT *
FROM t_object
INNER JOIN
(
SELECT *
FROM t_objectproperties tag
WHERE tag.Property = 'Location'
AND tag.Value = 'Queens'
) AS location
ON t_object.Object_ID = location.Object_ID
INNER JOIN
(
SELECT *
FROM t_objectproperties tag
WHERE tag.Property = 'Room'
AND tag.Value = 'King'
) AS type
ON t_object.Object_ID = type.Object_ID
感謝bluefeet。我嘗試過,但我仍然得到相同的錯誤。 – PeanutsMonkey
謝謝bluefeet。現在,我收到錯誤'JOIN操作中的語法錯誤' – PeanutsMonkey
不是'FROM t_objectproperties標籤'。而是'FROM t_objectproperties AS標籤'。這是一個Access的東西。 – Smandoli