CREATE TABLE gas_station (Station_ID INT, Open_Year INT, Location TEXT, Manager_Name TEXT, Vice_Manager_Name TEXT, Representative_Name TEXT)
CREATE TABLE company (Company_ID INT, Rank INT, Company TEXT, Headquarters TEXT, Main_Industry TEXT, Sales_billion FLOAT, Profits_billion FLOAT, Assets_billion FLOAT, Market_Value FLOAT)
CREATE TABLE station_company (Station_ID INT, Company_ID INT, Rank_of_the_Year INT)

Bar chart of how many headquarters from each headquarters, and list in ascending by the y axis.
SELECT Headquarters, COUNT(Headquarters) FROM company GROUP BY Headquarters ORDER BY COUNT(Headquarters)
SELECT "Headquarters", COUNT("Headquarters") FROM "company" GROUP BY "Headquarters" ORDER BY COUNT("Headquarters") NULLS FIRST