CREATE TABLE "doubles_performance_timeline" (
  "tournament" text,
  "1998" text,
  "1999" text,
  "2000" text,
  "2001" text,
  "2002" text,
  "2003" text,
  "2004" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text
);

Question: Which tournament's 2001 and 2008 were a when 2010 was qf?
SQL: SELECT "tournament" FROM "doubles_performance_timeline" WHERE "2001"='a' AND "2008"='a' AND "2010"='qf';

Question: Which tournament's 2001 and 2006s were a?
SQL: SELECT "tournament" FROM "doubles_performance_timeline" WHERE "2001"='a' AND "2006"='a';

Question: Which 2007 had a 2009 taht was qf when its 2000 was a?
SQL: SELECT "2007" FROM "doubles_performance_timeline" WHERE "2009"='qf' AND "2000"='a';

Question: Which 2008 had a 1998 and 2006 that were a when 2009 was sf?
SQL: SELECT "2008" FROM "doubles_performance_timeline" WHERE "1998"='a' AND "2009"='sf' AND "2006"='a';