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)
CREATE TABLE flight (flno DECIMAL, origin VARCHAR, destination VARCHAR, distance DECIMAL, departure_date DATE, arrival_date DATE, price DECIMAL, aid DECIMAL)

Show name and distance for all aircrafts Visualize by bar chart, could you rank from high to low by the y-axis?
SELECT name, distance FROM aircraft ORDER BY distance DESC
SELECT "name", "distance" FROM "aircraft" ORDER BY "distance" DESC NULLS LAST