Table: polona_hercog_tournaments
Columns: tournament
2006
2007
2008
2009
2010
2011
2012

Question: What 2008 has 1r as a 2010, A as the 2007, and 1r as the 2009?
SQL: SELECT "2008" FROM polona_hercog_tournaments WHERE "2010" = '1r' AND "2007" = 'a' AND "2009" = '1r'

Question: What 2008 has A as the 2007, and 2r as the 2010?
SQL: SELECT "2008" FROM polona_hercog_tournaments WHERE "2007" = 'a' AND "2010" = '2r'

Question: What 2009 has lq as the 2011?
SQL: SELECT "2009" FROM polona_hercog_tournaments WHERE "2011" = 'lq'

Question: What 2009 has 345 as the 2007?
SQL: SELECT "2009" FROM polona_hercog_tournaments WHERE "2007" = '345'