What's the 1881 when 1871 had 1017?
CREATE TABLE table_name_38 (Id VARCHAR)
SELECT 1881 FROM table_name_38 WHERE 1871 = "1017"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_38 (Id VARCHAR) Question: What's the 1881 when 1871 had 1017? [/INST] SELECT 1881 FROM table_name_38 WHERE 1871 = "1017" </s>