Table: serena_williams_tournaments
Columns: tournament
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013

Question: what is 2010 when 2009 is w and 2007 is qf?
SQL: SELECT "2010" FROM serena_williams_tournaments WHERE "2009" = 'w' AND "2007" = 'qf'

Question: what is 2000 when 2012 is 4r?
SQL: SELECT "2000" FROM serena_williams_tournaments WHERE "2012" = '4r'

Question: what is 2000 when 2012 is w and 2011 is 4r?
SQL: SELECT "2000" FROM serena_williams_tournaments WHERE "2012" = 'w' AND "2011" = '4r'

Question: what is 2010 when 2006 is 3r?
SQL: SELECT "2010" FROM serena_williams_tournaments WHERE "2006" = '3r'

Question: what is 2013 when 2001 is qf and 2011 is 4r?
SQL: SELECT "2013" FROM serena_williams_tournaments WHERE "2001" = 'qf' AND "2011" = '4r'