CREATE TABLE "administrative_districts" (
  "district" text,
  "s_barangay" real,
  "population_2010_census" real,
  "area_has" real,
  "pop_density_per_km2" real
);

Question: What is the total of Barangay with an area larger than 865.13?
SQL: SELECT SUM("s_barangay") FROM "administrative_districts" WHERE "area_has">865.13;

Question: What is the lowest population density for the district of Santa Cruz and a Barangay larger than 82?
SQL: SELECT MIN("pop_density_per_km2") FROM "administrative_districts" WHERE "district"='santa cruz' AND "s_barangay">82;

Question: What is the highest population density that is less than 115,942 and a Barangay less than 82?
SQL: SELECT MAX("pop_density_per_km2") FROM "administrative_districts" WHERE "population_2010_census"<'115,942' AND "s_barangay"<82;

Question: What is the total population with a population density less than 29,384.8 in San Nicolas?
SQL: SELECT SUM("population_2010_census") FROM "administrative_districts" WHERE "pop_density_per_km2"<'29,384.8' AND "district"='san nicolas';