Ho questo codice:

$querytabelle = "select * from tabella_2 left join tabella_1 on record_id.tabella_2 on tabella_1.id where id = '8'";
$resultabelle = mysql_query($querytabelle) or die(mysql_error());
echo $resultabelle;
Stampa nel sorgente questo errore:

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 'on tabella_1.id WHERE id = '8'' at line 1
Qual'è l'errore?