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

Question: What is the class of the a1 bm type?
SQL: SELECT "class" FROM "railbuses" WHERE "type"='a1 bm';

Question: What is the quantity of the aw class?
SQL: SELECT "quantity" FROM "railbuses" WHERE "class"='aw';

Question: What is the class with 1 quantity?
SQL: SELECT "class" FROM "railbuses" WHERE "quantity"='1';

Question: What is the railway number of the aw class?
SQL: SELECT "railway_number_s" FROM "railbuses" WHERE "class"='aw';