WHAT IS THE POPULATION OF 2007 WHEN 2010 POPULATION WAS SMALLER THAN 1282?
CREATE TABLE "barangays" (
  "barangay" text,
  "urban_rural" text,
  "geographic_character" text,
  "population_2007" real,
  "population_2010" real
);
SELECT COUNT("population_2007") FROM "barangays" WHERE "population_2010"<1282;