Porównaj dwie tabele, aby znaleźć niezrównane rekordy
select *
from table1
where table1.slip_no NOT IN (select id from table2)
Pilgrim
select *
from table1
where table1.slip_no NOT IN (select id from table2)