CREATE TABLE table_11758 ("Code" FLOAT, "Type" CLOB, "Name" CLOB, "Regional County Municipality" CLOB, "Region" FLOAT)

What is the code for Saint-Damien in Matawinie with a type p?
SELECT AVG("Code") FROM table_11758 WHERE "Regional County Municipality" = 'matawinie' AND "Type" = 'p' AND "Name" = 'saint-damien'
SELECT AVG("Code") FROM "table_11758" WHERE "Name" = 'saint-damien' AND "Regional County Municipality" = 'matawinie' AND "Type" = 'p'