CREATE TABLE "2_6_0" (
  "class" text,
  "wheel_arrangement" text,
  "fleet_number_s" text,
  "manufacturer" text,
  "serial_numbers" text,
  "year_made" text,
  "quantity_made" text,
  "quantity_preserved" text
);

Question: what is the quantity made when the class is d-2?
SQL: SELECT "quantity_made" FROM "2_6_0" WHERE "class"='d-2';

Question: what is the year made when the manufacturer is 2-6-2 — oooo — mogul?
SQL: SELECT "year_made" FROM "2_6_0" WHERE "manufacturer"='2-6-2 — oooo — mogul';

Question: what is the wheel arrangement when the year made is 1881?
SQL: SELECT "wheel_arrangement" FROM "2_6_0" WHERE "year_made"='1881';

Question: what is the quantity made when the wheel arrangement is 2-6-0 and the class is k?
SQL: SELECT "quantity_made" FROM "2_6_0" WHERE "wheel_arrangement"='2-6-0' AND "class"='k';

Question: what is the class when the quantity perserved is 0 and the quantity made is 5?
SQL: SELECT "class" FROM "2_6_0" WHERE "quantity_preserved"='0' AND "quantity_made"='5';