CREATE TABLE "geography" (
  "name" text,
  "seat" text,
  "population_2011" real,
  "area_km_2" real,
  "density_inhabitants_km_2" real
);

Question: What is the lowest population (2011) for the community with an Area of 12,241km2 and a Density (inhabitants/km 2) smaller than 21.1?
SQL: SELECT MIN("population_2011") FROM "geography" WHERE "area_km_2"='12,241' AND "density_inhabitants_km_2"<21.1;

Question: What is the area (in km2) for theewaterskloof, whose population in 2011 was less than 108,790?
SQL: SELECT SUM("area_km_2") FROM "geography" WHERE "name"='theewaterskloof' AND "population_2011"<'108,790';

Question: What is the area in km2 for Cape Agulhas, whose density is larger than 9.4 inhabitants/km2 and whose population in 2011 was less than 33,038?
SQL: SELECT MAX("area_km_2") FROM "geography" WHERE "density_inhabitants_km_2">9.4 AND "name"='cape agulhas' AND "population_2011"<'33,038';

Question: What is the area in km2 for the community that had a population in 2011 larger than 35,916 and a density of less than 47.1 inhabitants/km 2?
SQL: SELECT SUM("area_km_2") FROM "geography" WHERE "population_2011">'35,916' AND "density_inhabitants_km_2"<47.1;