इसे आजमाएं:
select person, type from table
where type = '1'
and person not in (select person from table where type is null)
इसे आजमाएं:
select person, type from table
where type = '1'
and person not in (select person from table where type is null)