CREATE TABLE "statistics" (
  "2010" text,
  "2009" real,
  "2008" real,
  "2007" text,
  "2006" real,
  "2005" real,
  "2004" real,
  "2003" real,
  "2002" text
);

Question: What is the 2005 sum with a 2009 less than 1,850,654?
SQL: SELECT SUM("2005") FROM "statistics" WHERE "2009"<'1,850,654';

Question: What is the average 2003 with 2,154,170 in 2010 and a 2008 less than 2,266,716?
SQL: SELECT AVG("2003") FROM "statistics" WHERE "2010"='2,154,170' AND "2008"<'2,266,716';

Question: What is the average 2009 with a 2003 greater than 3,791, 107,982 in 2007, and a 2006 less than 98,264?
SQL: SELECT AVG("2009") FROM "statistics" WHERE "2003">'3,791' AND "2007"='107,982' AND "2006"<'98,264';

Question: What is the sum of the 2008 with a 2007 of 4,244,115 and less than 3,296,267 in 2003?
SQL: SELECT SUM("2008") FROM "statistics" WHERE "2007"='4,244,115' AND "2003"<'3,296,267';