CREATE TABLE "population_of_hiroo_district_july_2008" (
  "district" text,
  "number_of_households" real,
  "total_population" real,
  "male" real,
  "female" real
);

Question: What is the total population with less than 789 males?
SQL: SELECT COUNT("total_population") FROM "population_of_hiroo_district_july_2008" WHERE "male"<789;

Question: What is the lowest female number of the hiroo 1-chōme district, which has more than 1,666 households?
SQL: SELECT MIN("female") FROM "population_of_hiroo_district_july_2008" WHERE "district"='hiroo 1-chōme' AND "number_of_households">'1,666';

Question: What is the highest number of males where there are 1,202 females and more than 1,127 households?
SQL: SELECT MAX("male") FROM "population_of_hiroo_district_july_2008" WHERE "female"='1,202' AND "number_of_households">'1,127';

Question: What is the total number of females where the total population is less than 2,195?
SQL: SELECT COUNT("female") FROM "population_of_hiroo_district_july_2008" WHERE "total_population"<'2,195';