select sno,sname
from s
where sno in(select sno from sc right join c
               on sc.cno=c.cno group by sno
               having count(*)=count(distinct sno))