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

For each origin, how many flights came from there Show bar chart, I want to sort from low to high by the y axis.
SELECT origin, COUNT(*) FROM flight GROUP BY origin ORDER BY COUNT(*)
SELECT "origin", COUNT(*) FROM "flight" GROUP BY "origin" ORDER BY COUNT(*) NULLS FIRST