Je tente d'effectuer une jointure à gauche avec une condition. Dites ceci est ma table:Left Join Problème
a b c
-------------------------
1 1 NULL
3 3 something
et ma requête est
select * from x left join y on x.a = y.b
Le problème est que je ne veux pas c d'être "quelque chose" donc quand j'ajouter
select * from x left join y on x.a = y.b where y.c <> 'something'
il affiche 0 lignes. il devrait effectivement afficher
a b c
-------------------------
1 1 NULL
oui, désolé réparé –