Question: What is the smallest decile with an Area of Otumoetai?
SQL: SELECT MIN("Decile") FROM "2-12174210-2" WHERE "Area" = 'Otumoetai';

Question: Which decile has an Area of Welcome Bay, and an Authority of State?
SQL: SELECT "Decile" FROM "2-12174210-2" WHERE "Area" = 'Welcome Bay' AND "Authority" = 'State';

Question: How many deciles have a Gender of Coed, an Authority of State, and a Name of Mount Maunganui School?
SQL: SELECT SUM("Decile") FROM "2-12174210-2" WHERE "Gender" = 'Coed' AND "Authority" = 'State' AND "Name" = 'Mount Maunganui School';

Question: Which name has a Decile of 5, and an Area of Tauranga?
SQL: SELECT "Name" FROM "2-12174210-2" WHERE "Decile" = 5.0 AND "Area" = 'Tauranga';

Question: Which Authority has a Gender of Coed, a Decile smaller than 6, and an Area of Merivale?
SQL: SELECT "Authority" FROM "2-12174210-2" WHERE "Gender" = 'Coed' AND "Decile" < 6.0 AND "Area" = 'Merivale';

Question: What is the smallest decile with a Name of St Mary's Catholic School?
SQL: SELECT MIN("Decile") FROM "2-12174210-2" WHERE "Name" = 'St Mary''s Catholic School';