user: Question: What is the average gold medals for countries with more than 0 bronze, more than 0 silver, rank over 2 and total over 3?
Columns: ['Rank', 'Nation', 'Gold', 'Silver', 'Bronze', 'Total']
Types: ['real', 'text', 'real', 'real', 'real', 'real']
Sample row: [1.0, 'Italy', 2.0, 0.0, 2.0, 4.0]
SQL:

assistant: SELECT AVG("Gold") FROM "Table" WHERE "Bronze" > 0.0 AND "Silver" > 0.0 AND "Rank" > 2.0 AND "Total" > 3.0;