CREATE TABLE table_name_12 (wins INT, poles VARCHAR, podiums VARCHAR)

What is the average wins of a team with more than 0 ples and less than 3 podiums?
SELECT AVG(wins) FROM table_name_12 WHERE poles > 0 AND podiums < 3
SELECT AVG("wins") FROM "table_name_12" WHERE "podiums" < 3 AND "poles" > 0