Question: With a works number of 40864 for the builder of Baldwin Locomotive Works, the number listed is?
SQL: SELECT Number FROM table WHERE Builder = baldwin locomotive works AND Works number = 40864