What is the average wins of a team with more than 0 ples and less than 3 podiums?
CREATE TABLE table_name_12 (wins INTEGER, poles VARCHAR, podiums VARCHAR)
SELECT AVG(wins) FROM table_name_12 WHERE poles > 0 AND podiums < 3
<s>[INST] Write mssql query to answer the following question given the database schema. Schema: CREATE TABLE table_name_12 (wins INTEGER, poles VARCHAR, podiums VARCHAR) Question: What is the average wins of a team with more than 0 ples and less than 3 podiums? [/INST] SELECT AVG(wins) FROM table_name_12 WHERE poles > 0 AND podiums < 3 </s>