CREATE TABLE ship (Ship_ID NUMBER, Name CLOB, Type CLOB, Nationality CLOB, Tonnage NUMBER)
CREATE TABLE mission (Mission_ID NUMBER, Ship_ID NUMBER, Code CLOB, Launched_Year NUMBER, Location CLOB, Speed_knots NUMBER, Fate CLOB)

Show different types of ships and the average tonnage of ships of each type Show bar chart, and show from low to high by the bar.
SELECT Type, AVG(Tonnage) FROM ship GROUP BY Type ORDER BY Type
SELECT "Type", AVG("Tonnage") FROM "ship" GROUP BY "Type" ORDER BY "Type"