SCHEMA:
CREATE TABLE table_name_17 (date VARCHAR, opponent VARCHAR, result VARCHAR, attendance VARCHAR)
USER:
On what date was the opponent Ayr United, the result 1–0, and the attendance more than 668?

QUERY:
SELECT date FROM table_name_17 WHERE result = "1–0" AND attendance > 668 AND opponent = "ayr united"