查询选修了课程编号为1和2的学生学号。select SNO from SC where CNO = '1' and SNO in (select SNO from SC where CNO = '2');查询张军和王红同学的所有信息。select * from Student where sname in ('张军', '王红');