What is Team (B), when S No is less than 18, when Margin is 8 Wickets, and when Match Date is Oct 30, 1989?
CREATE TABLE "one_day_international" (
  "s_no" real,
  "team_a" text,
  "team_b" text,
  "winner" text,
  "margin" text,
  "match_date" text
);
SELECT "team_b" FROM "one_day_international" WHERE "s_no"<18 AND "margin"='8 wickets' AND "match_date"='oct 30, 1989';