I have two tables in my SQL DB:

I want to select Libelle_Collection,Libelle_Editeur from all records in the two tables where the Id_Editeur = Id_Editeur_Editeur .
I tried this code :
select Id_Collection, Libelle_Collection,Libelle_Editeur from Collection_,Editeur where Id_Editeur = Id_Editeur_Editeur
The is the result I get :
1 | yyyyyyy | rfer
but it only shows one row where the Id_Editeur_Editeur = 1, I want to show all records even if Id_Editeur_Editeur = NULL.
And the is the result that I want :
1 | yyyyyyy | rfer
3 | tytutuyutu | NULL
4 | tutyuyr | NULL
I think you need a
LEFT JOIN: