human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Medal, Name, Games, Sport, Event
###Question: Which Name had a Games of 2008 beijing, and a Medal of gold?
gpt
SELECT Name FROM table WHERE Games = 2008 beijing AND Medal = gold