查询选修了2门课程以上的学生学号()
查询选修了2门课程以上的学生学号()
A.select sid,count(*) from sc group by sid where count(*)>=2
B.select sid,count(*) from sc where count(*)>=2 group by sid
C.select sid,count(*) from sc group by sid having count(*)>=2
D.select sid,count(*) from sc group by cid having count(*)>=2
正确答案:select sid,count(*) from sc group by sid having count(*)>=2