human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Games, First, Last, Gold, Bronze, Total, Best finish (first/last)
###Question: How many games are associated with over 0 golds and a first year before 2008?
gpt
SELECT SUM Games FROM table WHERE Gold > 0 AND First < 2008