human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Capital/Region, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
###Question: What is the average 2000 that has a 1997 greater than 34,6, a 2006 greater than 38,7, and a 2998 less than 76?
gpt
SELECT AVG 2000 FROM table WHERE 1997 > 34,6 AND 2006 > 38,7 AND 1998 < 76