CREATE TABLE "grand_prix_de_futsal" (
  "2005" text,
  "2006" text,
  "2007" text,
  "2008" text,
  "2009" text,
  "2010" text,
  "2011" text,
  "2013" text,
  "total" real
);

Question: What is the 2008 value that was 2nd in 2006?
SQL: SELECT "2008" FROM "grand_prix_de_futsal" WHERE "2006"='2nd';

Question: What is the average total that is 1st in 2010?
SQL: SELECT AVG("total") FROM "grand_prix_de_futsal" WHERE "2010"='1st';

Question: What is the 2008 value with a 7 in 2010?
SQL: SELECT "2008" FROM "grand_prix_de_futsal" WHERE "2010"='7';