Question: what is the quantity made when the class is D-2?
SQL: SELECT "Quantity made" FROM "2-18620528-4" 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-18620528-4" 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-18620528-4" 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-18620528-4" 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-18620528-4" WHERE "Quantity preserved" = '0' AND "Quantity made" = '5';