Table: bavarian_locomotives
Columns: class
number_s
quantity
year_s_of_manufacture
type

Question: Which Class has a Year(s) of Manufacture of 1899?
SQL: SELECT "class" FROM bavarian_locomotives WHERE "year_s_of_manufacture" = '1899'

Question: Which Year(s) of Manufacture has a Quantity larger than 60, and a Number(s) of 7001–7165?
SQL: SELECT "year_s_of_manufacture" FROM bavarian_locomotives WHERE "quantity" > 60 AND "number_s" = '7001–7165'

Question: Which Quantity has a Type of e h4v, and a Year(s) of Manufacture of 1920–1924?
SQL: SELECT MIN("quantity") FROM bavarian_locomotives WHERE "type" = 'e h4v' AND "year_s_of_manufacture" = '1920–1924'