CREATE TABLE table_40311 ("Tournament" TEXT, "2002" TEXT, "2004" TEXT, "2005" TEXT, "2006" TEXT, "2007" TEXT, "2008" TEXT, "2010" TEXT, "2011" TEXT, "2012" TEXT)

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