What is the average wins with a 20th position and more than 0 f/laps?
CREATE TABLE table_name_31 (wins INTEGER, position VARCHAR, f_laps VARCHAR)
SELECT AVG(wins) FROM table_name_31 WHERE position = "20th" AND f_laps > 0
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_31 (wins INTEGER, position VARCHAR, f_laps VARCHAR) Question: What is the average wins with a 20th position and more than 0 f/laps? [/INST] SELECT AVG(wins) FROM table_name_31 WHERE position = "20th" AND f_laps > 0 </s>