CREATE TABLE "men_s_coubles" (
  "tournament" text,
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2012" text
);

Question: WHAT IS THE TOURNAMENT WITH 2008 AND 2011 WITH A?
SQL: SELECT "tournament" FROM "men_s_coubles" WHERE "2008"='a' AND "2011"='a';

Question: WHAT IS THE 2012 WITH 2005 OF 1R?
SQL: SELECT "2012" FROM "men_s_coubles" WHERE "2005"='1r';

Question: WHAT IS THE 2010 WITH 2012 OF 2R AT MIAMI MASTERS?
SQL: SELECT "2010" FROM "men_s_coubles" WHERE "2012"='2r' AND "tournament"='miami masters';

Question: WHAT IS THE 2008 WITH TOURNAMENT OF WIN-LOSS, AND 2005 A?
SQL: SELECT "2008" FROM "men_s_coubles" WHERE "tournament"='win-loss' AND "2005"='a';

Question: WHAT IS THE 2007 AT MADRID MASTERS?
SQL: SELECT "2007" FROM "men_s_coubles" WHERE "tournament"='madrid masters';

Question: WHAT IS THE 2011 WITH 2007 AT A AND2 008 AT 3R?
SQL: SELECT "2011" FROM "men_s_coubles" WHERE "2007"='a' AND "2008"='3r';