Seleccionar entre 3 tablas uno está vacío
Replacing "JOIN", which implies "INNER JOIN", by "LEFT JOIN" should do the trick.
Blue-eyed Beaver
Replacing "JOIN", which implies "INNER JOIN", by "LEFT JOIN" should do the trick.