Table: locomotive_list_6
Columns: class
railway_number_s
quantity
year_s_of_manufacture
type

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

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

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

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