Table schema:
CREATE TABLE table_name_1 (poles INTEGER, wins VARCHAR, season VARCHAR, position VARCHAR)

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