[SQL] Jointure a 3 tables

bonjour, je voulais savoir comment faire une jointure sur 3 tables en meme temps?

j’ai deja:


SELECT * FROM commande A INNER JOIN commandeClientRubrique B ON A.commande_id=B.commandeClientRubrique_idCommande where B.commandeClientRubrique_dateCommande >='$dteReview' order by A.commande_idSource,B.commandeClientRubrique_idRubrique,A.commande_page

La je regroupe par l’id de la source, mais je voudrai les trier par nom de la source, mais ce nom est dans une 3eme table Source

Comment puis’je faire?

merci

Ben tu refais un INNER JOIN ou LEFT JOIN ou RIGHT JOIN juste après ton premier INNER JOIN

exemple :
SELECT * FROM a INNER JOIN b ON a.id = b.id INNER JOIN c ON c.id = a.id

ok, merci bien