user: Question: What is the average number of gold medals won among participants that won less than 13 silver, less than 8 bronze, and more than 18 medals overall?
Columns: ['Rank', 'Gold', 'Silver', 'Bronze', 'Total']
Types: ['real', 'real', 'real', 'real', 'real']
Sample row: [1.0, 84.0, 69.0, 69.0, 222.0]
SQL:

assistant: SELECT AVG("Gold") FROM "Table" WHERE "Silver" < 13.0 AND "Total" > 18.0 AND "Bronze" < 8.0;