Table: locomotive_lner_2
Columns: class
type
quantity
date
lner_class

Question: What is the Quantity of Type 2-4-2t?
SQL: SELECT SUM("quantity") FROM locomotive_lner_2 WHERE "type" = '2-4-2t'

Question: What was the Quantity on Date 1900?
SQL: SELECT SUM("quantity") FROM locomotive_lner_2 WHERE "date" = '1900'

Question: What is the Quantity of type 2-4-2t?
SQL: SELECT COUNT("quantity") FROM locomotive_lner_2 WHERE "type" = '2-4-2t'