Select * from tabla where not exists (select 1 from tabla hijo where hijo.campo_fk = tabla.campo_primario);