user: ### NOW ANSWER:
Question: What is the average total number of medals when there were 4 bronze, more than 2 silver, and less than 7 gold medals?
Columns: ['Rank', 'Gold', 'Silver', 'Bronze', 'Total']
Types: ['text', 'real', 'real', 'real', 'real']
Sample row: ['1', 51.0, 21.0, 28.0, 100.0]
SQL:

assistant: SELECT AVG("Total") FROM "Table" WHERE "Bronze" = 4.0 AND "Silver" > 2.0 AND "Gold" < 7.0;