CREATE TABLE "locomotives_of_the_london_and_north_east" (
  "class" text,
  "w_a" text,
  "quantity" real,
  "date" text,
  "lner_class" text
);

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

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