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 highest region when the population is less than 4,797, the name is l'ascension-de-notre-seigneur and the area (km 2) is more than 131.83?
SQL: SELECT MAX("region") FROM "list_of_municipalities_in_quebec" WHERE "population"<'4,797' AND "name"='l''ascension-de-notre-seigneur' AND "area_km_2">131.83;

Question: what is the average population when the regional county municipality is le domaine-du-roy, the type is m and the region is less than 2?
SQL: SELECT AVG("population") FROM "list_of_municipalities_in_quebec" WHERE "regional_county_municipality"='le domaine-du-roy' AND "type"='m' AND "region"<2;

Question: what is the regional county municipality when the type is m and the code is less than 91015?
SQL: SELECT "regional_county_municipality" FROM "list_of_municipalities_in_quebec" WHERE "type"='m' AND "code"<91015;