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 Turkey's average Gold entry that also has a Bronze entry that is smaller than 2 and the Total is greater than 1?
gpt
SELECT AVG Gold FROM table WHERE Bronze < 2 AND Nation = turkey AND Total > 1