这个要用到SQL语句: 按照成绩来分组,再用聚合函数 select count(*) from student_grade group by grade having grade >=60; 转载于:https://www.cnblogs.com/stujike/p/8622391.html