CREATE TABLE "1886_1893" (
  "class" text,
  "type" text,
  "quantity" real,
  "date" text,
  "lner_class" text
);

Question: What class has a LNER Class of d8?
SQL: SELECT "class" FROM "1886_1893" WHERE "lner_class"='d8';

Question: What LNER Class has a Class of 6db?
SQL: SELECT "lner_class" FROM "1886_1893" WHERE "class"='6db';

Question: What LNER Class has a Class of 3?
SQL: SELECT "lner_class" FROM "1886_1893" WHERE "class"='3';