Context: 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?
Answer: SELECT AVG(wins) FROM table_name_12 WHERE poles > 0 AND podiums < 3