Suppose I had the following 2 tables:
Table1: Table2: Col1: Col2: Col3: Col1: Col2: Col
Try using additional condition in join:
SELECT Table1.Col1, Table1.Col2, Table1.Col3, Table2.Col4 FROM Table1 INNER JOIN Table2 ON (Table1.Col1 = Table2.Col1 OR (Table1.Col1 IS NULL AND Table2.Col1 IS NULL) )