下面是我的数据集。
Student_code Subject
___________ _______
123 Maths
123 Chemistry
124 Maths
125 Chemistry
126 Physics
126 Maths
127 Physics
127 Chemistry
我想查找刚注册一门课程的学生人数。在这个例子中,给定“数学”,我应该得到 1 作为答案,因为学生 id 124 只注册了数学。