human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Goal, Date, Score, Result, Competition
###Question: Which date has 3 as the goal?
gpt
SELECT Date FROM table WHERE Goal = 3