CREATE TABLE "singles_performance_timeline" (
  "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
);

Question: What was 2002, when 2008 was, "career statistics"?
SQL: SELECT "2002" FROM "singles_performance_timeline" WHERE "2008"='career statistics';

Question: What was 2009, when 2001 was, "not masters series"?
SQL: SELECT "2009" FROM "singles_performance_timeline" WHERE "2001"='not masters series';

Question: What was 2011, when 2005 was 2R, and when 2003 was 2R?
SQL: SELECT "2011" FROM "singles_performance_timeline" WHERE "2005"='2r' AND "2003"='2r';

Question: What was 2009, when 2012 was A, when 2003 was A, and then the Tournament was the Madrid Masters?
SQL: SELECT "2009" FROM "singles_performance_timeline" WHERE "2012"='a' AND "2003"='a' AND "tournament"='madrid masters';

Question: What was 2002, when 2011 was, "atp masters series"?
SQL: SELECT "2002" FROM "singles_performance_timeline" WHERE "2011"='atp masters series';