CREATE TABLE "doubles_statistics" (
  "tournament" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text
);

Question: What 2007 has 236 for 2006?
SQL: SELECT "2007" FROM "doubles_statistics" WHERE "2006"='236';

Question: What 2011 has 2r as 2010, and a 2008 of A?
SQL: SELECT "2011" FROM "doubles_statistics" WHERE "2010"='2r' AND "2008"='a';

Question: What is the 2012 that has tournament played as the tournament?
SQL: SELECT "2012" FROM "doubles_statistics" WHERE "tournament"='tournament played';