Which season did he have 0 points and 31st position?
CREATE TABLE table_17246160_1 (season INTEGER, points VARCHAR, position VARCHAR)
SELECT MAX(season) FROM table_17246160_1 WHERE points = 0 AND position = "31st"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_17246160_1 (season INTEGER, points VARCHAR, position VARCHAR) Question: Which season did he have 0 points and 31st position? [/INST] SELECT MAX(season) FROM table_17246160_1 WHERE points = 0 AND position = "31st" </s>