text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_6 (average VARCHAR, caps VARCHAR, scotland_career VARCHAR)
  ### Question:
  What is the average cap number in scotland in 1986–1998 leass than 69?
  ### Answer:
  SELECT COUNT(average) FROM table_name_6 WHERE caps < 69 AND scotland_career = "1986–1998"