Question: What is the largest roll with Years 1–8, a Name of dorie school, and a Decile larger than 9?
SQL: SELECT MAX("Roll") FROM "2-12256602-5" WHERE "Years" = '1–8' AND "Name" = 'dorie school' AND "Decile" > 9.0;

Question: How many deciles have Years of 1–8, and a Roll of 49?
SQL: SELECT COUNT("Decile") FROM "2-12256602-5" WHERE "Years" = '1–8' AND "Roll" = 49.0;

Question: Which name has Years of 1–8, a Decile of 9, and a Roll smaller than 141?
SQL: SELECT "Name" FROM "2-12256602-5" WHERE "Years" = '1–8' AND "Decile" = 9.0 AND "Roll" < 141.0;

Question: What is the largest Decile with Years of 1–8, anAuthority of State, and a Roll of 141?
SQL: SELECT MAX("Decile") FROM "2-12256602-5" WHERE "Years" = '1–8' AND "Authority" = 'State' AND "Roll" = 141.0;

Question: How many deciles have an Authority of state and a Name of chertsey school?
SQL: SELECT COUNT("Decile") FROM "2-12256602-5" WHERE "Authority" = 'state' AND "Name" = 'chertsey school';