CREATE TABLE "population" (
  "year" real,
  "region_total" real,
  "goondiwindi" real,
  "waggamba" real,
  "inglewood" real
);

Question: What is the region total before 1986 with a Waggamba of 2,732, and a Goondiwindi less than 3,576?
SQL: SELECT SUM("region_total") FROM "population" WHERE "year"<1986 AND "waggamba"='2,732' AND "goondiwindi"<'3,576';

Question: What is the average year that had a value less than 2,575 in Inglewood?
SQL: SELECT AVG("year") FROM "population" WHERE "inglewood"<'2,575';

Question: What is the highest value in Waggamba were Inglewwod had 2,771, but Goondiwindi had less than 4,374?
SQL: SELECT MAX("waggamba") FROM "population" WHERE "inglewood"='2,771' AND "goondiwindi"<'4,374';

Question: What is the lost amount in Goondiwindi after 2001, and Inglewood had more than 2,586?
SQL: SELECT MIN("goondiwindi") FROM "population" WHERE "inglewood">'2,586' AND "year">2001;

Question: In 1996, what was the value for Inglewood when Goondiwindi had more than 4,374, and there is a region total higher than 9,114?
SQL: SELECT AVG("inglewood") FROM "population" WHERE "region_total">'9,114' AND "year"=1996 AND "goondiwindi">'4,374';

Question: What is the region total after 2001 when Goondiwindi had more than 4,103 and Inglewood was at 2,613?
SQL: SELECT COUNT("region_total") FROM "population" WHERE "goondiwindi">'4,103' AND "inglewood"='2,613' AND "year">2001;