CREATE TABLE captain (CLASS VARCHAR2, age NUMBER)

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"