You can use an outer join, but I find the subquery to be a bit simpler. In your case, select everything from table1 in which there is no identifier in table2. Reads better ...
SELECT * FROM table1 WHERE l_id NOT IN (SELECT l_id FROM table2);
source share