CREATE TABLE "north_east" (
  "name" text,
  "faith" text,
  "type" text,
  "dcsf_number" real,
  "ofsted_number" real
);

Question: What is the name of the primary with a DCSF number larger than 2337 and an Ofsted number smaller than 135339?
SQL: SELECT "name" FROM "north_east" WHERE "type"='primary' AND "dcsf_number">2337 AND "ofsted_number"<135339;

Question: What name that has a DCSF number bigger than 2448 and an Ofsted number of 131319?
SQL: SELECT "name" FROM "north_east" WHERE "dcsf_number">2448 AND "ofsted_number"=131319;

Question: What faith has a DCSF number bigger than 2448 in Holtsmere End?
SQL: SELECT "faith" FROM "north_east" WHERE "dcsf_number">2448 AND "name"='holtsmere end';

Question: What's the lowest DCSF number in Aycliffe Drive but an Ofsted number smaller than 117335?
SQL: SELECT MIN("dcsf_number") FROM "north_east" WHERE "name"='aycliffe drive' AND "ofsted_number"<117335;