CREATE TABLE "john_g_robinson_1900_22" (
  "class" text,
  "type" text,
  "quantity" real,
  "date" text,
  "lner_class" text,
  "1946_lner_nos" text
);

Question: On what date was the type 2-8-0 with a O4 LNER Class?
SQL: SELECT "date" FROM "john_g_robinson_1900_22" WHERE "type"='2-8-0' AND "lner_class"='o4';

Question: Which class has less in quantity than 174 between the years 1921–23?
SQL: SELECT "class" FROM "john_g_robinson_1900_22" WHERE "quantity"<174 AND "date"='1921–23';

Question: Which type has a quantity of 11?
SQL: SELECT "type" FROM "john_g_robinson_1900_22" WHERE "quantity"=11;

Question: Which class has less than 3 in quantity with  a type of 4-6-0?
SQL: SELECT "class" FROM "john_g_robinson_1900_22" WHERE "type"='4-6-0' AND "quantity"<3;