Table: locomotive_list
Columns: class
railway_number_s
quantity_rebuilt
rebuildjahr_e
type

Question: What is the type if quantity rebuilt is more than 2 and the railway number is 4"…150?
SQL: SELECT "type" FROM locomotive_list WHERE "quantity_rebuilt" > 2 AND "railway_number_s" = '4"…150'

Question: What was the Rebuildjahr(e) for the T2AA class?
SQL: SELECT "rebuildjahr_e" FROM locomotive_list WHERE "class" = 't2aa'

Question: What is the total of quantity rebuilt if the type is 1B N2T and the railway number is 88, 118?
SQL: SELECT COUNT("quantity_rebuilt") FROM locomotive_list WHERE "type" = '1b n2t' AND "railway_number_s" = '88, 118'