user: Question: WhAt is the 2009 vAlue of the Shanghai Masters, which wAs A in 2012 And 1R in 2011?
Columns: ['Tournament', '2008', '2009', '2010', '2011', '2012']
Types: ['text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['Grand Slam Tournaments', 'Grand Slam Tournaments', 'Grand Slam Tournaments', 'Grand Slam Tournaments', 'Grand Slam Tournaments', 'Grand Slam Tournaments']
SQL:

assistant: SELECT "2009" FROM "Table" WHERE "2012" = 'A' AND "2011" = '1R' AND "Tournament" = 'Shanghai Masters';