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

Show the total number from each flag, and order from high to low by the X.
SELECT Flag, COUNT(*) FROM Ship GROUP BY Flag ORDER BY Flag DESC
SELECT "Flag", COUNT(*) FROM "Ship" GROUP BY "Flag" ORDER BY "Flag" DESC