Question: What is the code for Saint-Damien in Matawinie with a tyPe P?
SQL: SELECT AVG("Code") FROM "2-11218948-9" WHERE "Regional County Municipality" = 'Matawinie' AND "Type" = 'P' AND "Name" = 'Saint-Damien';

Question: What is the name for the regional county municipality of D'Autray and a code less than 52017?
SQL: SELECT "Name" FROM "2-11218948-9" WHERE "Regional County Municipality" = 'D''Autray' AND "Code" < 52017.0;