CREATE TABLE table_17801022_1 (date VARCHAR, driver VARCHAR)

What date did Jamie McMurray win the race?
SELECT date FROM table_17801022_1 WHERE driver = "Jamie McMurray"
SELECT "date" FROM "table_17801022_1" WHERE "Jamie McMurray" = "driver"