human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Home team, Home team score, Away team, Away team score, Venue, Crowd, Date
###Question: When did the match take place that had a home team score of 7.9 (51)?
gpt
SELECT Date FROM table WHERE Home team score = 7.9 (51)