CREATE TABLE "north_america" (
  "rank" real,
  "location" text,
  "2008" real,
  "2009" real,
  "2010" real,
  "2011" real,
  "2012" real
);

Question: Which 2011 has a 2012 larger than 9,998,000?
SQL: SELECT MAX("2011") FROM "north_america" WHERE "2012">'9,998,000';

Question: Which 2010 has a Rank of 1, and a 2009 larger than 17,233,000?
SQL: SELECT AVG("2010") FROM "north_america" WHERE "rank"=1 AND "2009">'17,233,000';

Question: Which 2012 has a 2011 of 17,142,000, and a 2010 smaller than 16,972,000?
SQL: SELECT MIN("2012") FROM "north_america" WHERE "2011"='17,142,000' AND "2010"<'16,972,000';

Question: Which 2009 has a 2012 of 17,536,000, and a 2010 smaller than 16,972,000?
SQL: SELECT MAX("2009") FROM "north_america" WHERE "2012"='17,536,000' AND "2010"<'16,972,000';