ID Course
选出选课数量>=2的学号
selectdistinctIDfromtestasA
where (Selectcount(ID)fromtestasBwhereA.ID=B.ID)>=2
1
2
3