In which year are there festivals both inside the 'United States' and outside the 'United States'?
CREATE TABLE festival_detail (YEAR VARCHAR, LOCATION VARCHAR)
SELECT YEAR FROM festival_detail WHERE LOCATION = 'United States' INTERSECT SELECT YEAR FROM festival_detail WHERE LOCATION <> 'United States'
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE festival_detail (YEAR VARCHAR, LOCATION VARCHAR) Question: In which year are there festivals both inside the 'United States' and outside the 'United States'? [/INST] SELECT YEAR FROM festival_detail WHERE LOCATION = 'United States' INTERSECT SELECT YEAR FROM festival_detail WHERE LOCATION <> 'United States' </s>