What are the average ages for male and female students?
select avg(age), sex from student group by sex