select avg(成绩) as 平均成绩 from 成绩表
where 成绩升序排名 > 1 and 成绩降序排名 > 1