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)

Bar chart x axis type y axis the total number, list by the Y in desc please.
SELECT Type, COUNT(*) FROM ship GROUP BY Type ORDER BY COUNT(*) DESC
SELECT "Type", COUNT(*) FROM "ship" GROUP BY "Type" ORDER BY COUNT(*) DESC NULLS LAST