human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Goal, Date, Venue, Score, Result, Competition
###Question: What was the date of the game with a goal of 7?
gpt
SELECT Date FROM table WHERE Goal = 7