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

what is 2010 when 2009 is w and 2007 is qf?
SELECT "2010" FROM table_47840 WHERE "2009" = 'w' AND "2007" = 'qf'
SELECT "2010" FROM "table_47840" WHERE "2007" = 'qf' AND "2009" = 'w'