Table: locomotive_lner
Columns: class
type
quantity
date
lner_class

Question: What class has a LNER Class of d8?
SQL: SELECT "class" FROM locomotive_lner WHERE "lner_class" = 'd8'

Question: What LNER Class has a Class of 6db?
SQL: SELECT "lner_class" FROM locomotive_lner WHERE "class" = '6db'

Question: What LNER Class has a Class of 3?
SQL: SELECT "lner_class" FROM locomotive_lner WHERE "class" = '3'