What is the earliest year that a team event was included at Vilamoura, Portugal?
CREATE TABLE table_name_11 (year INTEGER, event VARCHAR, venue VARCHAR)
SELECT MIN(year) FROM table_name_11 WHERE event = "team" AND venue = "vilamoura, portugal"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_11 (year INTEGER, event VARCHAR, venue VARCHAR) Question: What is the earliest year that a team event was included at Vilamoura, Portugal? [/INST] SELECT MIN(year) FROM table_name_11 WHERE event = "team" AND venue = "vilamoura, portugal" </s>