CREATE TABLE "population" (
  "year" real,
  "population_total" real,
  "barcaldine" real,
  "aramac" real,
  "jericho" real
);

Question: What year was the (Barcaldine) larger than 1,868 and the (Aramac) lower than 1,592?
SQL: SELECT AVG("year") FROM "population" WHERE "barcaldine">'1,868' AND "aramac"<'1,592';

Question: What is the high Population (total) from 1976 with a (Barcaldine) smaller than 1,780?
SQL: SELECT MAX("population_total") FROM "population" WHERE "year"=1976 AND "barcaldine"<'1,780';

Question: What year had a Poulation (Total) of 3,492 and a (Barcaldine) less than 1,818?
SQL: SELECT AVG("year") FROM "population" WHERE "population_total"='3,492' AND "barcaldine"<'1,818';

Question: What is the average (Jericho) with a Population (Total) less than 4,059 in 1986 and a (Barcaldine) higher than 1,779?
SQL: SELECT AVG("jericho") FROM "population" WHERE "population_total"<'4,059' AND "year"=1986 AND "barcaldine">'1,779';

Question: What is the average (Barcaldine) with a Population (Total) less than 3,594 and a 920 (Jericho) after 2006?
SQL: SELECT AVG("barcaldine") FROM "population" WHERE "population_total"<'3,594' AND "jericho"=920 AND "year">2006;

Question: What Year has an (Aramac) of 832 and a Population (Total) less than 3,762?
SQL: SELECT SUM("year") FROM "population" WHERE "aramac"=832 AND "population_total"<'3,762';