CREATE TABLE "locomotives_of_the_london_and_north_east" (
  "locomotive_superintendent" text,
  "g_no_sr_class" text,
  "lner_class" text,
  "quantity_built" real,
  "passed_to_lner" real,
  "manufacturer" text,
  "date_introduced" text
);

Question: Who was the Locomotive superintendent has a NER class of d45?
SQL: SELECT "locomotive_superintendent" FROM "locomotives_of_the_london_and_north_east" WHERE "lner_class"='d45';

Question: Which LNER class was introduced in 1885 and GNoSR class of g?
SQL: SELECT "lner_class" FROM "locomotives_of_the_london_and_north_east" WHERE "date_introduced"='1885' AND "g_no_sr_class"='g';

Question: Which LNER class has been Passed to LNER larger than 3 and a introduced in 1895–98?
SQL: SELECT "lner_class" FROM "locomotives_of_the_london_and_north_east" WHERE "passed_to_lner">3 AND "date_introduced"='1895–98';