CREATE TABLE "main_places" (
  "place" text,
  "code" real,
  "area_km_2" real,
  "population" real,
  "most_spoken_language" text
);

Question: What is the total number of area listed for cannonvale with a population less than 409?
SQL: SELECT COUNT("area_km_2") FROM "main_places" WHERE "population"<409 AND "place"='cannonvale';

Question: What is the lowest code number for the remainder of the municipality that has an area bigger than 15.34 squared kilometers, a population greater than 762 and a language of xhosa spoken?
SQL: SELECT MIN("code") FROM "main_places" WHERE "population">762 AND "most_spoken_language"='xhosa' AND "area_km_2">15.34 AND "place"='remainder of the municipality';

Question: What is the total code number for places with a population greater than 87,585?
SQL: SELECT COUNT("code") FROM "main_places" WHERE "population">'87,585';

Question: What is the lowest area for cannonvale that speaks afrikaans?
SQL: SELECT MIN("area_km_2") FROM "main_places" WHERE "most_spoken_language"='afrikaans' AND "place"='cannonvale';

Question: What is the place that speaks xhosa, has a population less than 87,585, an area smaller than 1.28 squared kilometers, and a code larger than 27504?
SQL: SELECT "place" FROM "main_places" WHERE "population"<'87,585' AND "area_km_2"<1.28 AND "code">27504 AND "most_spoken_language"='xhosa';