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

Which headquarter locations are used by more than 2 companies?
SELECT headquarters FROM companies GROUP BY headquarters HAVING COUNT(*) > 2
SELECT "headquarters" FROM "companies" GROUP BY "headquarters" HAVING COUNT(*) > 2