CREATE TABLE table_name_6 (average VARCHAR, caps VARCHAR, scotland_career VARCHAR)

What is the average cap number in scotland in 1986 1998 leass than 69?
SELECT COUNT(average) FROM table_name_6 WHERE caps < 69 AND scotland_career = "1986–1998"
SELECT COUNT("average") FROM "table_name_6" WHERE "1986–1998" = "scotland_career" AND "caps" < 69