這是有效的語法嗎?在明確命名錶格和列table.column
時,似乎應該隱含from
條款。mysql「where」不使用「from」
SELECT
distinct concat(\"Question \", q.place) as question
FROM q
INNER JOIN test
ON test.id = q.test
AND q.id NOT IN (
SELECT responses.question
where //Is this Valid or do I need to select from a table explicitly?
responses.tester = tester.id)
INNER JOIN test
ON test.id = testingsession.test
INNER JOIN tester
ON tester.test = test.id
WHERE
tester.id = :id
ORDER BY
questions.position
那麼,它工作或產生錯誤? – Wiseguy
指定表格有什麼問題? – Alexander
這只是多餘的 –