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 I want to list in ascending by the Y-axis.
SELECT Rank, COUNT(*) FROM captain GROUP BY Rank ORDER BY COUNT(*)
SELECT "Rank", COUNT(*) FROM "captain" GROUP BY "Rank" ORDER BY COUNT(*)