I have this SQL statement, I am getting a syntax error:
SELECT
*
FROM
user_table
INNER JOIN (
klass_table
LEFT JOIN room_table
)
Syntax error is vague, it says:
You have an error in your SQL syntax; it seems the error is around: ')' at line 8
Perhaps I am missing an ON clause?
ON) for an inner join. Those parentheses are pretty much useless by the way:from user_table join klass_table on ... left join room_table on ...works just as well