What was 2009, when 2012 was A, when 2003 was A, and then the Tournament was the Madrid Masters?
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
);
SELECT "2009" FROM "singles_performance_timeline" WHERE "2012"='a' AND "2003"='a' AND "tournament"='madrid masters';