1、首先通过课程号找到学号2、再通过学号找到选修C4的所有学生的年龄,然后求平均年龄select avg(年龄) from student inner join Sc on student.学号 = sc.学号where sc.课程号 = 'C4'