What is the average and oldest age for students with different sex?
select avg ( age ), max ( age ), sex from student group by sex