CREATE TABLE flight (flno DECIMAL, origin VARCHAR, destination VARCHAR, distance DECIMAL, departure_date DATE, arrival_date DATE, price DECIMAL, aid DECIMAL)
CREATE TABLE certificate (eid DECIMAL, aid DECIMAL)
CREATE TABLE aircraft (aid DECIMAL, name VARCHAR, distance DECIMAL)
CREATE TABLE employee (eid DECIMAL, name VARCHAR, salary DECIMAL)

Show all origins and the number of flights from each origin by a bar chart, display by the y axis in descending.
SELECT origin, COUNT(*) FROM flight GROUP BY origin ORDER BY COUNT(*) DESC
SELECT "origin", COUNT(*) FROM "flight" GROUP BY "origin" ORDER BY COUNT(*) DESC NULLS LAST