CREATE TABLE "counties" (
  "county" text,
  "area_acres" text,
  "area_km" real,
  "population" real,
  "population_density_per_km_2" real
);

Question: What is the lowest population of the county with an area (km²) of 565.39 and a population density less than 23.54?
SQL: SELECT MIN("population") FROM "counties" WHERE "area_km"=565.39 AND "population_density_per_km_2"<23.54;

Question: What is the area (km²) of Nairnshire county, which has a population less than 11,050?
SQL: SELECT SUM("area_km") FROM "counties" WHERE "county"='nairnshire' AND "population"<'11,050';