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)

What are the different ship flags, and how many ships have each Plot them as bar chart, and list Y-axis in ascending order.
SELECT Flag, COUNT(*) FROM Ship GROUP BY Flag ORDER BY COUNT(*)
SELECT "Flag", COUNT(*) FROM "Ship" GROUP BY "Flag" ORDER BY COUNT(*)