select distinct sno
from sp a
where not exists
      (  select * 
         from sp b 
         where sno='168' and not exists 
                             (  select * 
                                from sp c 
                                where sno=a.sno and pno=b.pno
                             )
      )