CREATE TABLE "doubles" (
  "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,
  "career_w_l" text
);

Question: Name the 2005 with 2007 of sf
SQL: SELECT "2005" FROM "doubles" WHERE "2007"='sf';

Question: Name the 2006 with 2008 of 1r and 2004 of 1r
SQL: SELECT "2006" FROM "doubles" WHERE "2008"='1r' AND "2004"='1r';

Question: Name the 2011 with 2002 of 1r and 2009 of a
SQL: SELECT "2011" FROM "doubles" WHERE "2002"='1r' AND "2009"='a';

Question: Name the 1999 with 2011 of 2r
SQL: SELECT "1999" FROM "doubles" WHERE "2011"='2r';

Question: Name the 2008 with 1998 of a and 2002 of 1r with 2004 of 2r
SQL: SELECT "2008" FROM "doubles" WHERE "1998"='a' AND "2002"='1r' AND "2004"='2r';

Question: Name the 2001 with 2007 of sf
SQL: SELECT "2001" FROM "doubles" WHERE "2007"='sf';