快速提问,只是想知道是否有人可以看到语法错误在LEFT JOIN
哪里?
SELECT
...
FROM table1 AS t1, table2 AS t2, table3 AS s3
table4 AS t4, table5 AS t5 LEFT JOIN table6 AS t6 ON t5.id = t6.t5_id
AND t6.etc
ORDER BY ...
我只能假设它不喜欢t1,t2,t3,t4
前面LEFT JOIN
的t5 & t6
错误描述
You have an error in your SQL syntax; check the manual that corresponds to your
MySQL server version for the right syntax to use near 'table4 AS t4, table5 AS t5 LEFT JOIN table6 AS t6 ON ON t5.id = t6' at line 26*