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

Return a histogram on what are the names and distances for all airplanes?, display in descending by the total number.
SELECT name, distance FROM aircraft ORDER BY distance DESC
SELECT "name", "distance" FROM "aircraft" ORDER BY "distance" DESC NULLS LAST