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

Question: What 2009 has statistics by surface in 2012?
SQL: SELECT "2009" FROM gastao_elias_tournaments WHERE "2012" = 'statistics by surface'

Question: What 2001 has a ATP World Tour Masters 1000 2007?
SQL: SELECT "2011" FROM gastao_elias_tournaments WHERE "2007" = 'atp world tour masters 1000'

Question: What 2010 has an A 2006 & 2011?
SQL: SELECT "2010" FROM gastao_elias_tournaments WHERE "2006" = 'a' AND "2011" = 'a'

Question: What 2009 has a 0 in 2008 & 2010?
SQL: SELECT "2009" FROM gastao_elias_tournaments WHERE "2010" = '0' AND "2008" = '0'