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

Draw a bar chart showing the total number of every ship type by categorizing by nationality, and I want to rank by the Y-axis in desc.
SELECT Type, COUNT(Type) FROM ship GROUP BY Nationality, Type ORDER BY COUNT(Type) DESC
SELECT "Type", COUNT("Type") FROM "ship" GROUP BY "Nationality", "Type" ORDER BY COUNT("Type") DESC NULLS LAST