Return the average and minimum age of captains in each class.
select avg(age), min(age), class from captain group by class