select score as '成绩' ,name as '姓名' from students
UNION ALL
select AVG(score) from students;
It shows the average in the last line;
select score as '成绩' ,name as '姓名' from students
UNION ALL
select SUM(score) from students;
It displays the total number of the last;