user: ### NOW ANSWER:
Question: What is the average silver for a rank less than 8, were there were no more than 4 bronze and 12 in total?
Columns: ['Rank', 'Nation', 'Gold', 'Silver', 'Bronze', 'Total']
Types: ['real', 'text', 'real', 'real', 'real', 'real']
Sample row: [1.0, 'Romania', 14.0, 7.0, 5.0, 26.0]
SQL:

assistant: SELECT AVG("Silver") FROM "Table" WHERE "Rank" < 8.0 AND "Total" = 12.0 AND "Bronze" < 4.0;