Question: How many population figures are given for Glengallen for the year when the region's total is 30554?
SQL: SELECT COUNT("Population (Glengallan)") FROM "1-12584173-1" WHERE "Population (Region total)" = 30554.0;

Question: What is the maximum population size in the town of Stanthorpe?
SQL: SELECT MAX("Population (Stanthorpe)") FROM "1-12584173-1";

Question: What is the maximum population size in the town of Glengallen?
SQL: SELECT MAX("Population (Glengallan)") FROM "1-12584173-1";

Question: What was the population in Stanthorpe in the year when the population in Rosenthal was 1548?
SQL: SELECT MAX("Population (Stanthorpe)") FROM "1-12584173-1" WHERE "Population (Rosenthal)" = 1548.0;

Question: How many population total figures are there for the year when Allora's population was 2132?
SQL: SELECT COUNT("Population (Region total)") FROM "1-12584173-1" WHERE "Population (Allora)" = 2132.0;