user: ### NOW ANSWER:
Question: What 2009 has 345 as the 2007?
Columns: ['Tournament', '2006', '2007', '2008', '2009', '2010', '2011', '2012']
Types: ['text', 'text', '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', 'Grand Slam tournaments', 'Grand Slam tournaments']
SQL:

assistant: SELECT "2009" FROM "Table" WHERE "2007" = '345';