text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  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?
  ### Answer:
  SELECT SUM(poles) FROM table_name_1 WHERE season < 2005 AND position = "2nd" AND wins < 6