human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Nation, Gold, Silver, Bronze, Total
###Question: What is Gold, when Total is 6?
gpt
SELECT Gold FROM table WHERE Total = 6