Table: tobias_kamke_grand_slam
Columns: tournament
2008
2009
2010
2011
2012

Question: What is 2009, when 2008 is "A", when 2011 is "A", and when Tournament is "Paris Masters"?
SQL: SELECT "2009" FROM tobias_kamke_grand_slam WHERE "2008" = 'a' AND "2011" = 'a' AND "tournament" = 'paris masters'

Question: What is 2008, when 2009 is "A", and when Tournament is "Madrid Masters"?
SQL: SELECT "2008" FROM tobias_kamke_grand_slam WHERE "2009" = 'a' AND "tournament" = 'madrid masters'

Question: What is Tournament, when 2012 is "A", when 2011 is "A", and when 2008 is "A"?
SQL: SELECT "tournament" FROM tobias_kamke_grand_slam WHERE "2012" = 'a' AND "2011" = 'a' AND "2008" = 'a'

Question: What is 2009, when 2011 is "Q2"?
SQL: SELECT "2009" FROM tobias_kamke_grand_slam WHERE "2011" = 'q2'

Question: What is 2011, when Tournament is "Year-End Ranking"?
SQL: SELECT "2011" FROM tobias_kamke_grand_slam WHERE "tournament" = 'year-end ranking'