What is the average and oldest age for each gender of student?
select avg(age), max(age), sex from student group by sex