Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: 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?

### Accurate SQL ###

SELECT SUM(poles) FROM table_name_1 WHERE season < 2005 AND position = "2nd" AND wins < 6