Context: CREATE TABLE table_name_40 (manufacturer VARCHAR, type VARCHAR)
Question: Which manufacturer made a locomotive with a type of 4-6-4t?
Answer: SELECT manufacturer FROM table_name_40 WHERE type = "4-6-4t"