Table: locomotive_data
Columns: class
wheels
date
builder
no_built
1919_nos
lms_class
lms_nos

Question: What is the LMS class of trains with numbers 14510-5?
SQL: SELECT "lms_class" FROM locomotive_data WHERE "lms_nos" = '14510-5'

Question: What is the date of the 279 wheels?
SQL: SELECT "date" FROM locomotive_data WHERE "wheels" = 279

Question: What is the class when the LMS class is 3F?
SQL: SELECT "class" FROM locomotive_data WHERE "lms_class" = '3F'

Question: What is the LMS number of the trains built by G&SWR Kilmarnock?
SQL: SELECT "lms_nos" FROM locomotive_data WHERE "builder" = 'G&SWR Kilmarnock'

Question: How many figures are there for wheels for LMS numbers 16377-9?
SQL: SELECT COUNT("wheels") FROM locomotive_data WHERE "lms_nos" = '16377-9'

Question: What is the builder of the train with LMS Class 3f?
SQL: SELECT "builder" FROM locomotive_data WHERE "lms_class" = '3F'