CREATE TABLE "locomotives" (
  "locomotive" text,
  "name" text,
  "serial_no" text,
  "entered_service" text,
  "owner" text
);

Question: What is the entered service date for serial number 85-1222?
SQL: SELECT "entered_service" FROM "locomotives" WHERE "serial_no"='85-1222';

Question: What is the locomotive for the city of Benalla?
SQL: SELECT "locomotive" FROM "locomotives" WHERE "name"='city of benalla';

Question: What is the name for the locomotive n464?
SQL: SELECT "name" FROM "locomotives" WHERE "locomotive"='n464';

Question: What is the name for the locomotive n474?
SQL: SELECT "name" FROM "locomotives" WHERE "locomotive"='n474';