Schema: CREATE TABLE table_name_17 (date VARCHAR, opponent VARCHAR, result VARCHAR, attendance VARCHAR)
Question: On what date was the opponent Ayr United, the result 1–0, and the attendance more than 668?
SQL: SELECT date FROM table_name_17 WHERE result = "1–0" AND attendance > 668 AND opponent = "ayr united"