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: What is the population total for saint-wenceslas with a region number of under 17?
SQL: SELECT SUM("population") FROM "list_of_municipalities_in_quebec" WHERE "name"='saint-wenceslas' AND "region"<17;

Question: What is the smallest code associated with a type of m for a region less than 17 named, named saint-sylvère?
SQL: SELECT MIN("code") FROM "list_of_municipalities_in_quebec" WHERE "type"='m' AND "name"='saint-sylvère' AND "region"<17;