CREATE TABLE "subdivisions" (
  "city_municipality" text,
  "no_of_s_barangay" real,
  "district" real,
  "area_km" text,
  "population_2010" real,
  "income_class_2007" text,
  "zip_code" real,
  "mayor" text
);

Question: What are all the vicinity (km²) where profits magnificence (2007) is 2nd
SQL: SELECT "area_km" FROM "subdivisions" WHERE "income_class_2007"='2nd';

Question: What are all the profits elegance (2007) in which mayor is ma. Ester a. Hamor
SQL: SELECT "income_class_2007" FROM "subdivisions" WHERE "mayor"='Ma. Ester A. Hamor';

Question: What is the total quantity of populace (2010) where location (km²) is 134.51
SQL: SELECT COUNT("population_2010") FROM "subdivisions" WHERE "area_km"='134.51';

Question: What are all the metropolis / municipality where mayor is helen c. De castro
SQL: SELECT "city_municipality" FROM "subdivisions" WHERE "mayor"='Helen C. De Castro';