title: MySQL LEFT JOIN syntax error
body: <p>Quick question, just wondering if anyone can see where the syntax error is in this <code>LEFT JOIN</code>?</p>
  
  <pre><code>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 ...
  </code></pre>
  
  <p>I can only presume it doesn't like the <code>t1,t2,t3,t4</code> preceeding the <code>LEFT JOIN</code> on<code>t5 &amp; t6</code></p>
  
  <p>Error description</p>
  
  <pre><code>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*
  </code></pre>