Question: Which Wheels has Built smaller than 1958, a Location of York, and a Railway of NSR?
SQL: SELECT "Wheels" FROM "2-17477462-8" WHERE "Built" < 1958.0 AND "Location" = 'York' AND "Railway" = 'NSR';

Question: Which Built has a Builder of BREL Crewe?
SQL: SELECT AVG("Built") FROM "2-17477462-8" WHERE "Builder" = 'BREL Crewe';

Question: Which Railway has a Location of Shildon, and an ObjectNumber of 1978-7006?
SQL: SELECT "Railway" FROM "2-17477462-8" WHERE "Location" = 'Shildon' AND "ObjectNumber" = '1978-7006';

Question: Which Railway has a Location of Shildon, and an ObjectNumber of 1975-7022?
SQL: SELECT "Railway" FROM "2-17477462-8" WHERE "Location" = 'Shildon' AND "ObjectNumber" = '1975-7022';

Question: Which Location has an ObjectNumber of 2005-7698?
SQL: SELECT "Location" FROM "2-17477462-8" WHERE "ObjectNumber" = '2005-7698';