CREATE TABLE "demographics" (
  "no" real,
  "barangay" text,
  "area_in_km_2" text,
  "rank" real,
  "population_2000" real,
  "population_2007" real,
  "population_2010" real,
  "population_density_2010" text
);

Question: How many people lived in bulac in the year 2000?
SQL: SELECT MAX("population_2000") FROM "demographics" WHERE "barangay"='Bulac';

Question: In 2010, how many people lived in cities with a population density of 3,965.02?
SQL: SELECT "population_2010" FROM "demographics" WHERE "population_density_2010"='3,965.02';

Question: What's the name of the barangay whose area is 3.6787 km² ?
SQL: SELECT "barangay" FROM "demographics" WHERE "area_in_km_2"='3.6787';

Question: How many people lived in the city which has 1.2530 km² in the year 2000?
SQL: SELECT MAX("population_2000") FROM "demographics" WHERE "area_in_km_2"='1.2530';

Question: How many people lived in san gabriel in the year 2000?
SQL: SELECT COUNT("population_2000") FROM "demographics" WHERE "barangay"='San Gabriel';