CREATE TABLE "doubles_performance_timeline" (
  "tournament" text,
  "2004" text,
  "2005" text,
  "2006" text,
  "2007" text
);

Question: Which Tournament has a 2004 of 1r?
SQL: SELECT "tournament" FROM "doubles_performance_timeline" WHERE "2004"='1r';

Question: What is the 2005 that has a grand slam tournaments in 2007?
SQL: SELECT "2005" FROM "doubles_performance_timeline" WHERE "2007"='grand slam tournaments';

Question: What is the 2006 that has a 2r in 2004, and a 2r in 2005?
SQL: SELECT "2006" FROM "doubles_performance_timeline" WHERE "2004"='2r' AND "2005"='2r';

Question: What is the 2007 that has a grand slam tournaments in 2006.
SQL: SELECT "2007" FROM "doubles_performance_timeline" WHERE "2006"='grand slam tournaments';

Question: What is the 2004 that has a of grand slam tournaments in2006 ?
SQL: SELECT "2004" FROM "doubles_performance_timeline" WHERE "2006"='grand slam tournaments';

Question: What is 2006 has a 2007 of 3r?
SQL: SELECT "2006" FROM "doubles_performance_timeline" WHERE "2007"='3r';