Table: locomotive_history
Columns: lms_no
wd_no
builder
serial_no
date_built

Question: Name the total number of serial number for 24 wd no
SQL: SELECT COUNT("serial_no") FROM locomotive_history WHERE "wd_no" = 24

Question: Name the total number of wd number for lms number being 7638
SQL: SELECT COUNT("wd_no") FROM locomotive_history WHERE "lms_no" = 7638

Question: Name the builder for wd number being 22
SQL: SELECT "builder" FROM locomotive_history WHERE "wd_no" = 22

Question: Name the lms number for serial number being 372
SQL: SELECT "lms_no" FROM locomotive_history WHERE "serial_no" = 372

Question: Name the builder for serial number being 377
SQL: SELECT "builder" FROM locomotive_history WHERE "serial_no" = 377