human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Year, Game, Genre, Platform(s), Developer(s)
###Question: What's the genre of The Sims before 2002?
gpt
SELECT Genre FROM table WHERE Year < 2002 AND Game = the sims