CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text
);

Question: What is the value for 2010 when the 2012 value is Q2?
SQL: SELECT "2010" FROM "singles_performance_timeline" WHERE "2012"='q2';

Question: What is the value for 2010 when the value for 2006 is A and the value for 2009 is 1R?
SQL: SELECT "2010" FROM "singles_performance_timeline" WHERE "2006"='a' AND "2009"='1r';

Question: What is the value for 2012 when the value for 2009 is 1R and the vale for 2007 is 2R?
SQL: SELECT "2012" FROM "singles_performance_timeline" WHERE "2009"='1r' AND "2007"='2r';

Question: What is the value for 2008 for the US Open Tournament?
SQL: SELECT "2008" FROM "singles_performance_timeline" WHERE "tournament"='us open';

Question: What is the value for 2009 when the value for 2011 is 138?
SQL: SELECT "2009" FROM "singles_performance_timeline" WHERE "2011"='138';