CREATE TABLE "list_of_municipalities_in_quebec" (
  "code" real,
  "type" text,
  "name" text,
  "area_km_2" real,
  "population" real,
  "regional_county_municipality" text,
  "region" real
);

Question: How many people have a vl type in a region greater than 3?
SQL: SELECT SUM("population") FROM "list_of_municipalities_in_quebec" WHERE "type"='vl' AND "region">3;

Question: How many people are in regions greater than 3?
SQL: SELECT SUM("population") FROM "list_of_municipalities_in_quebec" WHERE "region">3;

Question: What is the average region that has an Area (km 2 ) of 451.79, and a Population under 496,257?
SQL: SELECT AVG("region") FROM "list_of_municipalities_in_quebec" WHERE "area_km_2"=451.79 AND "population"<'496,257';