CREATE TABLE "barangays" (
  "barangay" text,
  "location" text,
  "classification" text,
  "population_may_2000" real,
  "population_may_2010" real
);

Question: What was the population in May of 2000 when In may 2010 it was 2262?
SQL: SELECT MIN("population_may_2000") FROM "barangays" WHERE "population_may_2010"=2262;

Question: What was the Barangay when the population was 1267 in May of 2000?
SQL: SELECT "barangay" FROM "barangays" WHERE "population_may_2000"=1267;

Question: What was the population of the coastal location Isio in May of 2000?
SQL: SELECT MIN("population_may_2000") FROM "barangays" WHERE "location"='coastal' AND "barangay"='Isio';