CREATE TABLE "passenger_and_express_train_locomotives" (
  "class" text,
  "railway_number_s" text,
  "quantity" real,
  "year_s_of_manufacture" text,
  "type" text
);

Question: Which Year(s) of manufacture has a Type of 1b n2, and a Quantity of 10?
SQL: SELECT "year_s_of_manufacture" FROM "passenger_and_express_train_locomotives" WHERE "type"='1b n2' AND "quantity"=10;

Question: Which Railway number(s) has a Year(s) of manufacture of 1899–1907?
SQL: SELECT "railway_number_s" FROM "passenger_and_express_train_locomotives" WHERE "year_s_of_manufacture"='1899–1907';