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

Question: What is the 2009 value of the shanghai masters, which was A in 2012 and 1r in 2011?
SQL: SELECT "2009" FROM "singles_performance_timeline" WHERE "2012"='a' AND "2011"='1r' AND "tournament"='shanghai masters';

Question: What is the 2011 value of the paris masters, which had A in 2008, A in 2012, A in 2009?
SQL: SELECT "2011" FROM "singles_performance_timeline" WHERE "2008"='a' AND "2012"='a' AND "2009"='a' AND "tournament"='paris masters';

Question: What is the 2012 of the hamburg masters?
SQL: SELECT "2012" FROM "singles_performance_timeline" WHERE "tournament"='hamburg masters';

Question: What is the 2008 value of the hamburg masters?
SQL: SELECT "2008" FROM "singles_performance_timeline" WHERE "tournament"='hamburg masters';

Question: What is the 2009 value with lq in 2012, 2r in 2011, and lq in 2008?
SQL: SELECT "2009" FROM "singles_performance_timeline" WHERE "2012"='lq' AND "2011"='2r' AND "2008"='lq';

Question: What is the 2010 value of the monte carlo masters, which had A in 2012?
SQL: SELECT "2010" FROM "singles_performance_timeline" WHERE "2012"='a' AND "tournament"='monte carlo masters';