select S#,Sname from Student,SC where Student.S#=SC.S# and C# in select C# from SC where S#=’1001’;