CREATE TABLE "top_markets_2000_2011" (
  "country_or_territory" text,
  "2000" real,
  "2001" real,
  "2002" real,
  "2003" real,
  "2004" real,
  "2005" real,
  "2006" real,
  "2007" real,
  "2008" real,
  "2009" real,
  "2010" real,
  "2011" real
);

Question: How much 2000 has a 2005 smaller than 583,590, and a 2009 smaller than 156,761, and a 2002 larger than 1,393,020?
SQL: SELECT SUM("2000") FROM "top_markets_2000_2011" WHERE "2005"<'583,590' AND "2009"<'156,761' AND "2002">'1,393,020';

Question: Which 2011 has a 2004 smaller than 271,691, and a Country or territory of vietnam, and a 2009 larger than 265,414?
SQL: SELECT AVG("2011") FROM "top_markets_2000_2011" WHERE "2004"<'271,691' AND "country_or_territory"='vietnam' AND "2009">'265,414';

Question: Which 2007 has a Country or territory of china, and a 2002 smaller than 670,099?
SQL: SELECT MIN("2007") FROM "top_markets_2000_2011" WHERE "country_or_territory"='china' AND "2002"<'670,099';