CREATE TABLE "subdivisions" (
  "municipality" text,
  "no_of_barangays" real,
  "area_hectares" real,
  "population_2007" real,
  "population_2010" real,
  "pop_density_per_km_2" text
);

Question: What is the 2007 population of Gigmoto?
SQL: SELECT COUNT("population_2007") FROM "subdivisions" WHERE "municipality"='Gigmoto';

Question: What is the 2010 population of the municipality with 31 barangays?
SQL: SELECT "population_2010" FROM "subdivisions" WHERE "no_of_barangays"=31;

Question: What is the population density of Caramoran?
SQL: SELECT "pop_density_per_km_2" FROM "subdivisions" WHERE "municipality"='Caramoran';

Question: What municipality has a 130.6 pupulation density?
SQL: SELECT "municipality" FROM "subdivisions" WHERE "pop_density_per_km_2"='130.6';