human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Date, Venue, Score, Result, Competition
###Question: During what competition was a game played with a score of 3–1?
gpt
SELECT Competition FROM table WHERE Score = 3–1