user: ### NOW ANSWER:
Question: Which date's attendance was more than 39058 with an opponent of motherwell?
Columns: ['Date', 'Opponent', 'Venue', 'Result', 'Attendance']
Types: ['text', 'text', 'text', 'text', 'real']
Sample row: ['13 August 1988', 'St. Mirren', 'A', '1–0', 5832.0]
SQL:

assistant: SELECT "Date" FROM "Table" WHERE "Attendance" > 39058.0 AND "Opponent" = 'motherwell';