• 2022-06-05
    查询选修了2门课程以上的学生学号()
    A: select sid,count(*) from sc group by sid having count(*)>=2
    B: select sid,count(*) from sc group by sid where count(*)>=2
    C: select sid,count(*) from sc where count(*)>=2 group by sid
    D: select sid,count(*) from sc group by cid having count(*)>=2
  • 举一反三