在项目中遇到了问题想要查询到这个班级里学生历史考试中各科成绩的最高分
select 学科, 月份,max(成绩) from table group 学科,月份
select 学科, max(成绩) from table group 学科