what is 1977 when 1980 is chile?
CREATE TABLE table_name_65 (Id VARCHAR)
SELECT 1977 FROM table_name_65 WHERE 1980 = "chile"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_65 (Id VARCHAR) Question: what is 1977 when 1980 is chile? [/INST] SELECT 1977 FROM table_name_65 WHERE 1980 = "chile" </s>