What is the 2009 value of the shanghai masters, which was A in 2012 and 1r in 2011?
CREATE TABLE "singles_performance_timeline" (
  "tournament" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text
);
SELECT "2009" FROM "singles_performance_timeline" WHERE "2012"='a' AND "2011"='1r' AND "tournament"='shanghai masters';