CREATE TABLE table_name_1 (poles INT, wins VARCHAR, season VARCHAR, position VARCHAR)

What is the sum of Poles, when Season is before 2005, when Position is '2nd', and when Wins is less than 6?
SELECT SUM(poles) FROM table_name_1 WHERE season < 2005 AND position = "2nd" AND wins < 6
SELECT SUM("poles") FROM "table_name_1" WHERE "2nd" = "position" AND "season" < 2005 AND "wins" < 6