CREATE TABLE "tauranga_city" (
  "name" text,
  "gender" text,
  "area" text,
  "authority" text,
  "decile" real
);

Question: What is the smallest decile with an Area of otumoetai?
SQL: SELECT MIN("decile") FROM "tauranga_city" WHERE "area"='otumoetai';

Question: Which decile has an Area of welcome bay, and an Authority of state?
SQL: SELECT "decile" FROM "tauranga_city" 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 "tauranga_city" 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 "tauranga_city" WHERE "decile"=5 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 "tauranga_city" WHERE "gender"='coed' AND "decile"<6 AND "area"='merivale';

Question: What is the smallest decile with a Name of st mary's catholic school?
SQL: SELECT MIN("decile") FROM "tauranga_city" WHERE "name"='st mary''s catholic school';