CREATE TABLE table_name_38 (Id VARCHAR(255))
What's the 1881 when 1871 had 1017?
    
SQL: SELECT 1881 FROM table_name_38 WHERE 1871 = "1017"