CREATE TABLE table_name_31 (tournament VARCHAR)

What 2012 has q2 as the 2010, and wimbledon as the tournament?
SELECT 2012 FROM table_name_31 WHERE 2010 = "q2" AND tournament = "wimbledon"
SELECT 2012 FROM "table_name_31" WHERE "q2" = 2010 AND "tournament" = "wimbledon"