CREATE TABLE "grand_slam_tournament_performance_timeli" (
  "tournament" text,
  "1998" text,
  "1999" text,
  "2000" text,
  "2001" text,
  "2002" text,
  "2003" text,
  "2004" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text,
  "2013" text
);

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

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

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

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

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