What year has earnings of $557,158?
CREATE TABLE table_name_25 (year INTEGER, earnings__$_ VARCHAR)
SELECT MAX(year) FROM table_name_25 WHERE earnings__$_ = "557,158"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_25 (year INTEGER, earnings__$_ VARCHAR) Question: What year has earnings of $557,158? [/INST] SELECT MAX(year) FROM table_name_25 WHERE earnings__$_ = "557,158" </s>