CREATE TABLE certificate (eid NUMBER, aid NUMBER)
CREATE TABLE aircraft (aid NUMBER, name CLOB, distance NUMBER)
CREATE TABLE employee (eid NUMBER, name CLOB, salary NUMBER)
CREATE TABLE flight (flno NUMBER, origin CLOB, destination CLOB, distance NUMBER, departure_date TIME, arrival_date TIME, price NUMBER, aid NUMBER)

For each origin, how many flights came from there?
SELECT origin, COUNT(*) FROM flight GROUP BY origin
SELECT "origin", COUNT(*) FROM "flight" GROUP BY "origin"