CREATE TABLE "demographics" (
  "neighbourhood" text,
  "population_2012" real,
  "population_2009" real,
  "change_pct" real,
  "dwellings" real,
  "area_km_2" real,
  "density_people_km_2" real
);

Question: How many Dwellings does Beverly Heights have that have a change percent larger than -5.2?
SQL: SELECT SUM("dwellings") FROM "demographics" WHERE "neighbourhood"='beverly heights' AND "change_pct">-5.2;

Question: What is the density of an area that is 1.38km and has a population more than 12924?
SQL: SELECT COUNT("density_people_km_2") FROM "demographics" WHERE "area_km_2">1.38 AND "population_2012">12924;