Question: Baldwin Locomotive Works, also with works number 40864, is listed as what number?
SQL: SELECT Number FROM table WHERE Builder = baldwin locomotive works AND Works number = 40864