Which year had a team of Aprilia and a rank of 4th?
CREATE TABLE table_name_17 (year VARCHAR, team VARCHAR, rank VARCHAR)
SELECT year FROM table_name_17 WHERE team = "aprilia" AND rank = "4th"
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_17 (year VARCHAR, team VARCHAR, rank VARCHAR) Question: Which year had a team of Aprilia and a rank of 4th? [/INST] SELECT year FROM table_name_17 WHERE team = "aprilia" AND rank = "4th" </s>