SELECT avg(age) ,  max(age) ,  sex FROM student GROUP BY sex
Find the average and oldest age for students with different sex.
SELECT avg ( age ) , max ( age ) , sex FROM student GROUP BY sex
select avg ( age ) , max ( age ) , sex from student group by sex
Find the average and oldest age for students with different sex .