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