CREATE TABLE "men_s_doubles_performance_timeline" (
  "tournament" text,
  "2004" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text
);

Question: What is 2008, when 2006 is "1R"?
SQL: SELECT "2008" FROM "men_s_doubles_performance_timeline" WHERE "2006"='1r';

Question: What is Tournament, when 2006 is "A", and when 2009 is "A"?
SQL: SELECT "tournament" FROM "men_s_doubles_performance_timeline" WHERE "2006"='a' AND "2009"='a';

Question: What is 2005, when 2006 is "1R"?
SQL: SELECT "2005" FROM "men_s_doubles_performance_timeline" WHERE "2006"='1r';

Question: What is 2011, when 2008 is "2R"?
SQL: SELECT "2011" FROM "men_s_doubles_performance_timeline" WHERE "2008"='2r';

Question: What is 2004, when 2005 is "2R", and when 2006 is "1R"
SQL: SELECT "2004" FROM "men_s_doubles_performance_timeline" WHERE "2005"='2r' AND "2006"='1r';

Question: What is 2004, when 2009 is "A"?
SQL: SELECT "2004" FROM "men_s_doubles_performance_timeline" WHERE "2009"='a';