CREATE TABLE table_name_2 (number VARCHAR2, builder VARCHAR2, works_number VARCHAR2)

Baldwin Locomotive Works, also with works number 40864, is listed as what number?
SELECT number FROM table_name_2 WHERE builder = "baldwin locomotive works" AND works_number = 40864
SELECT "number" FROM "table_name_2" WHERE "baldwin locomotive works" = "builder" AND "works_number" = 40864