lundi 20 avril 2015

Multi tables relations in SELECT request

How can I do something like this:

SELECT *
FROM table1, table2, table3
WHERE table1.champs = table2.champs = table3.champs

And without any duplicate "champs" because at least one of the 3 tables should have duplicate lines.

Aucun commentaire:

Enregistrer un commentaire