Puoi usare

select * from tab1 where id not in (select id from tab2)