When is the earliest year for it is in barcelona, spain?
CREATE TABLE table_name_35 (year INTEGER, venue VARCHAR)
SELECT MIN(year) FROM table_name_35 WHERE venue = "barcelona, spain"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_35 (year INTEGER, venue VARCHAR) Question: When is the earliest year for it is in barcelona, spain? [/INST] SELECT MIN(year) FROM table_name_35 WHERE venue = "barcelona, spain" </s>