CREATE TABLE table_name_17 (date VARCHAR(255), opponent VARCHAR(255), result VARCHAR(255), attendance VARCHAR(255))
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"