CREATE TABLE "doubles" (
  "tournament" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text
);

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

Question: What is 2009, when Tournament is "Year-End Ranking"?
SQL: SELECT "2009" FROM "doubles" WHERE "tournament"='year-end ranking';

Question: What is 2011, when 2012 is "1R"?
SQL: SELECT "2011" FROM "doubles" WHERE "2012"='1r';

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

Question: What is 2011, when 2012 is "A", and when Tournament is "French Open"?
SQL: SELECT "2011" FROM "doubles" WHERE "2012"='a' AND "tournament"='french open';