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

Show different types of ships and the number of ships of each type in a bar chart, and rank in asc by the total number.
SELECT Type, COUNT(*) FROM ship GROUP BY Type ORDER BY COUNT(*)
SELECT "Type", COUNT(*) FROM "ship" GROUP BY "Type" ORDER BY COUNT(*) NULLS FIRST