human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Date, Visitor, Score, Home, Record
###Question: What is the date for the home detroit and visitor was chicago?
gpt
SELECT Date FROM table WHERE Home = detroit AND Visitor = chicago