1.
select c.Sno,c.Sname from course as a,sc as b,student as c where a.cno = b.cno and a.cname = '计算机原理' and c.Sno = b.Sno;2.select cname from student as a,course as b,sc as c where c.Sno = a.Sno and c.cno = b.cno and a.Sname = '周星驰';3.select Sno,Sname from student where Sno in (select Sno from (select Sno,if(count(1)>=5,1,0) as count from sc group by Sno) as b where count = 1);我哭,楼主我也是刚学习不久的,整了一下你的这三条语句!但是很明显效率不行,希望有人来修正!!!