What are the average, minimum, and max ages for each of the different majors?
select major, avg(age), min(age), max(age) from student group by major