user: Question: What is the sum of all gold medals for algeria when total medals is less than 3?
Columns: ['Rank', 'Nation', 'Gold', 'Silver', 'Bronze', 'Total']
Types: ['text', 'text', 'real', 'real', 'real', 'real']
Sample row: ['1', 'France', 7.0, 3.0, 4.0, 14.0]
SQL:

assistant: SELECT SUM("Gold") FROM "Table" WHERE "Nation" = 'algeria' AND "Total" < 3.0;