增加分组语句就行了如下代码:select 课程名,max(成绩)最高分 from score1,course where score1.课程号=course.课程号 order by 课程名 group by course.课程号 into table new_table3