CREATE TABLE train (id NUMBER, train_number NUMBER, name CLOB, origin CLOB, destination CLOB, time CLOB, interval CLOB)
CREATE TABLE weekly_weather (station_id NUMBER, day_of_week CLOB, high_temperature NUMBER, low_temperature NUMBER, precipitation FLOAT, wind_speed_mph NUMBER)
CREATE TABLE route (train_id NUMBER, station_id NUMBER)
CREATE TABLE station (id NUMBER, network_name CLOB, services CLOB, local_authority CLOB)

Plot how many name by grouped by name as a bar graph, and sort by the total number in descending.
SELECT name, COUNT(name) FROM train GROUP BY name ORDER BY COUNT(name) DESC
SELECT "name", COUNT("name") FROM "train" GROUP BY "name" ORDER BY COUNT("name") DESC