human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Date, Result, Score, Opponent, Record, Attendance
###Question: What record has w as the result, with January 2 as the date?
gpt
SELECT Record FROM table WHERE Result = w AND Date = january 2