Table: npr_locomotives
Columns: class
wheel_arrangement
fleet_number_s
manufacturer
year_made
quantity_made
quantity_preserved

Question: What is the Quantity made when class is f-7?
SQL: SELECT "quantity_made" FROM npr_locomotives WHERE "class" = 'f-7'

Question: What is the Class of 1899–1900?
SQL: SELECT "class" FROM npr_locomotives WHERE "year_made" = '1899–1900'

Question: What is the manufacturer with a wheel arrangement of 2-8-0, and Year made of 1883?
SQL: SELECT "manufacturer" FROM npr_locomotives WHERE "wheel_arrangement" = '2-8-0' AND "year_made" = '1883'

Question: What is the quantity when the wheel arrangement is 2-8-0, and class is f-4?
SQL: SELECT "quantity_made" FROM npr_locomotives WHERE "wheel_arrangement" = '2-8-0' AND "class" = 'f-4'

Question: What wheel arrangement has a fleet number(s) of 45–46?
SQL: SELECT "wheel_arrangement" FROM npr_locomotives WHERE "fleet_number_s" = '45–46'

Question: What manufacturer has a year made of 1883?
SQL: SELECT "manufacturer" FROM npr_locomotives WHERE "year_made" = '1883'