Table: bogdanovic_tournaments
Columns: tournament
2002
2004
2005
2006
2007
2008
2010
2011
2012

Question: What tournament has 1r as a 2004, and 1r as a 2007?
SQL: SELECT "tournament" FROM bogdanovic_tournaments WHERE "2004" = '1r' AND "2007" = '1r'

Question: What 2012 has q2 as the 2010, and wimbledon as the tournament?
SQL: SELECT "2012" FROM bogdanovic_tournaments WHERE "2010" = 'q2' AND "tournament" = 'wimbledon'

Question: What 2006 has grand slam tournaments of 2010?
SQL: SELECT "2006" FROM bogdanovic_tournaments WHERE "2010" = 'grand slam tournaments'

Question: What 2006 has grand slam tournaments of 2005?
SQL: SELECT "2006" FROM bogdanovic_tournaments WHERE "2005" = 'grand slam tournaments'

Question: What 2006 has q2 as the 2007?
SQL: SELECT "2006" FROM bogdanovic_tournaments WHERE "2007" = 'q2'