Question: What is the census ranking for the community with an area smaller than 9.94 km2 and a population smaller than 817?
SQL: SELECT "Census Ranking" FROM "2-171222-1" WHERE "Area km 2" < 9.94 AND "Population" < 817.0;

Question: What is the area (in km2) for the community that has a status of village, a census ranking of 2,471 of 5,008, and a population of less than 748?
SQL: SELECT SUM("Area km 2") FROM "2-171222-1" WHERE "Status" = 'village' AND "Census Ranking" = '2,471 of 5,008' AND "Population" < 748.0;

Question: What is the status for Pointe-Verte, with a population smaller than 1137?
SQL: SELECT "Status" FROM "2-171222-1" WHERE "Population" < 1137.0 AND "Official Name" = 'Pointe-Verte';

Question: What is the area (in km2) for the village of paquetville, with a population over 706?
SQL: SELECT AVG("Area km 2") FROM "2-171222-1" WHERE "Status" = 'village' AND "Official Name" = 'paquetville' AND "Population" > 706.0;

Question: What is the area (in km2) for the Town of Lamèque, with a population of less than 4351?
SQL: SELECT AVG("Area km 2") FROM "2-171222-1" WHERE "Status" = 'Town' AND "Population" < 4351.0 AND "Official Name" = 'Lamèque';