user: ### NOW ANSWER:
Question: What is the sum of gold medals with a total of 12 medals and less than 4 bronze medals?
Columns: ['Rank', 'Gold', 'Silver', 'Bronze', 'Total']
Types: ['text', 'real', 'real', 'real', 'real']
Sample row: ['1', 3.0, 1.0, 0.0, 4.0]
SQL:

assistant: SELECT SUM("Gold") FROM "Table" WHERE "Total" = 12.0 AND "Bronze" < 4.0;