If you inner join
the third table, there are only 2 rows that can match (I assume you don't match on nulls). Only 2 rows from the second table have non-null values in them, so only those 2 can produce a result if you do an inner join
with the third table.
You will need another left join
in this case. This will return all the rows from the second table, including those that are all null (as the result of the first left join
).