SELECT * from table1 LEFT JOIN table2 ON (table1.column1 = table2.column2) WHERE table2.column2 = NULL