Question: Show different types of ships and the average tonnage of ships of each type.
SQL: SELECT TYPE ,  avg(Tonnage) FROM ship GROUP BY TYPE