human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Goal, Date, Venue, Result, Competition
###Question: How was the competition in which 6 goals were made?
gpt
SELECT Competition FROM table WHERE Goal = 6