Question: Which Ages have a Capacity larger than 21, and an Ofsted of 106168?
SQL: SELECT "Ages" FROM "2-16931017-3" WHERE "Capacity" > 21.0 AND "Ofsted" = 106168.0;

Question: Which Ages have an Ofsted larger than 106172, and a School of Oakgrove School?
SQL: SELECT "Ages" FROM "2-16931017-3" WHERE "Ofsted" > 106172.0 AND "School" = 'Oakgrove School';

Question: Which Ofsted has a Capacity smaller than 56, and Ages of 11-16?
SQL: SELECT SUM("Ofsted") FROM "2-16931017-3" WHERE "Capacity" < 56.0 AND "Ages" = '11-16';

Question: Which Capacity has a School of windlehurst school, and an Ofsted smaller than 131889?
SQL: SELECT SUM("Capacity") FROM "2-16931017-3" WHERE "School" = 'windlehurst school' AND "Ofsted" < 131889.0;