Show the headquarters that have both companies in banking industry and companies in oil and gas industry.
CREATE TABLE company (Headquarters VARCHAR, Industry VARCHAR)
SELECT Headquarters FROM company WHERE Industry = "Banking" INTERSECT SELECT Headquarters FROM company WHERE Industry = "Oil and gas"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE company (Headquarters VARCHAR, Industry VARCHAR) Question: Show the headquarters that have both companies in banking industry and companies in oil and gas industry. [/INST] SELECT Headquarters FROM company WHERE Industry = "Banking" INTERSECT SELECT Headquarters FROM company WHERE Industry = "Oil and gas" </s>