user: Question: What is the average total medals egypt, who has less than 2 gold, has?
Columns: ['Rank', 'Nation', 'Gold', 'Silver', 'Bronze', 'Total']
Types: ['text', 'text', 'real', 'real', 'real', 'real']
Sample row: ['1', 'Italy', 5.0, 4.0, 2.0, 11.0]
SQL:

assistant: SELECT AVG("Total") FROM "Table" WHERE "Nation" = 'egypt' AND "Gold" < 2.0;