SELECT * from Student WHERE SId in (SELECT SId from sc WHERE cid in (SELECT cid from sc WHERE sid='01'))