select sname from s where sno in
  (select sno from sp where pno = 'P2');
