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_7 (date VARCHAR, year VARCHAR, result VARCHAR, score VARCHAR)
### Question:
What day was the result a win, the score 2-1, and the year before 2012?
### Answer:
SELECT date FROM table_name_7 WHERE result = "win" AND score = "2-1" AND year < 2012