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