What are the average and minimum age of captains in different class?
select avg(age), min(age), class from captain group by class