CREATE TABLE "summary" (
  "province" text,
  "capital" text,
  "population_2005" real,
  "population_pct" real,
  "area_km" real,
  "area_pct" real,
  "density" real
);

Question: How many regions have a capital of matanzas and a 2005 population under 670427?
SQL: SELECT COUNT("area_km") FROM "summary" WHERE "capital"='matanzas' AND "population_2005"<670427;

Question: What is the average area that has a Capital of camagüey, with a Population (%) larger than 7.02?
SQL: SELECT AVG("area_km") FROM "summary" WHERE "capital"='camagüey' AND "population_pct">7.02;