Question: What is the average decile for Te Puru School?
SQL: SELECT AVG("Decile") FROM "2-12146269-1" WHERE "Name" = 'Te Puru School';

Question: What is the total decile with an Area of whitianga, and a Roll smaller than 835?
SQL: SELECT SUM("Decile") FROM "2-12146269-1" WHERE "Area" = 'whitianga' AND "Roll" < 835.0;

Question: Which name has an Area of Kennedy Bay?
SQL: SELECT "Name" FROM "2-12146269-1" WHERE "Area" = 'Kennedy Bay';

Question: Which years have a Decile larger than 4, and an Area of Thames?
SQL: SELECT "Years" FROM "2-12146269-1" WHERE "Decile" > 4.0 AND "Area" = 'Thames';

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

Question: Which gender has Years of 1–8, an Authority of State, a Roll less than 184, and a Name of Matatoki School?
SQL: SELECT "Gender" FROM "2-12146269-1" WHERE "Years" = '1–8' AND "Authority" = 'State' AND "Roll" < 184.0 AND "Name" = 'Matatoki School';