Coba ini: select person, type from table where type = '1' and person not in (select person from table where type is null)