human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: C/W 15+, Oblast\Age, 15 to 17, 18 to 19, 20 to 24, 25 to 29, 30 to 34, 35 to 39, 40 to 44, 45 to 49, 50 to 54, 55 to 59, 60 to 64, 65 to 69
###Question: With a 20 to 24 less than 676, and a 15 to 17 greater than 16, and a 60 to 64 less than 3,142, what is the average 45 to 49?
gpt
SELECT AVG 45 to 49 FROM table WHERE 20 to 24 < 676 AND 15 to 17 > 16 AND 60 to 64 < 3,142