CREATE TABLE office_locations (building_id DECIMAL, company_id DECIMAL, move_in_year DECIMAL)
CREATE TABLE buildings (id DECIMAL, name TEXT, city TEXT, height DECIMAL, stories DECIMAL, status TEXT)
CREATE TABLE companies (id DECIMAL, name TEXT, headquarters TEXT, industry TEXT, sales_billion DECIMAL, profits_billion DECIMAL, assets_billion DECIMAL, market_value_billion TEXT)

Sort all the industries in descending order of the count of companies in each industry
SELECT industry FROM companies GROUP BY industry ORDER BY COUNT(*) DESC
SELECT "industry" FROM "companies" GROUP BY "industry" ORDER BY COUNT(*) DESC NULLS LAST