What livery belongs to the steam Locomotive type builder that was building before 1989?
CREATE TABLE "locomotives" (
  "livery" text,
  "locomotive_type" text,
  "wheel_arrangement" text,
  "builder" text,
  "year_built" real
);
SELECT "livery" FROM "locomotives" WHERE "year_built"<1989 AND "locomotive_type"='steam';