SELECT Student.SId,Student.Sname,选课数 from Student, (SELECT sid,COUNT(cid) 选课数 from sc GROUP BY sid HAVING COUNT(cid)>=2) t WHERE Student.SId = t.sid