Table: locomotive_lner
Columns: class
w_a
quantity
date
lner_class

Question: What class is associated with a W.A. of 0-8-0?
SQL: SELECT "class" FROM locomotive_lner WHERE "w_a" = '0-8-0'

Question: What WA has a LNER Class of n13 and 10?
SQL: SELECT "w_a" FROM locomotive_lner WHERE "quantity" = 10 AND "lner_class" = 'n13'