CREATE TABLE "locomotives" (
  "locomotive" text,
  "serial_no" text,
  "entered_service" text,
  "gauge" text,
  "livery" text
);

Question: What is the livery of the locomotive with a serial number 83-1010?
SQL: SELECT "livery" FROM "locomotives" WHERE "serial_no"='83-1010';

Question: What is the livery on the locomotive with a serial number 83-1011?
SQL: SELECT "livery" FROM "locomotives" WHERE "serial_no"='83-1011';

Question: What is the locomotive with a standard gauge and a serial number of 83-1015?
SQL: SELECT "locomotive" FROM "locomotives" WHERE "gauge"='standard' AND "serial_no"='83-1015';

Question: What is the date of entered service for the locomotive with a broad gauge and a serial no of 83-1018?
SQL: SELECT "entered_service" FROM "locomotives" WHERE "gauge"='broad' AND "serial_no"='83-1018';