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