Which Wheels has Built smaller than 1958, a Location of york, and a Railway of nsr?
CREATE TABLE "electric_locomotives" (
  "railway" text,
  "builder" text,
  "built" real,
  "wheels" text,
  "location" text,
  "object_number" text
);
SELECT "wheels" FROM "electric_locomotives" WHERE "built"<1958 AND "location"='york' AND "railway"='nsr';