CREATE TABLE Ship (Ship_ID NUMBER, Name CLOB, Type CLOB, Built_Year FLOAT, Class CLOB, Flag CLOB)
CREATE TABLE captain (Captain_ID NUMBER, Name CLOB, Ship_ID NUMBER, age CLOB, Class CLOB, Rank CLOB)

A bar chart about how many captains are in each rank?, and rank in desc by the the total number please.
SELECT Rank, COUNT(*) FROM captain GROUP BY Rank ORDER BY COUNT(*) DESC
SELECT "Rank", COUNT(*) FROM "captain" GROUP BY "Rank" ORDER BY COUNT(*) DESC