user: Question: what is the highest gold when the nation is total and the total is less than 24?
Columns: ['Rank', 'Nation', 'Gold', 'Silver', 'Bronze', 'Total']
Types: ['text', 'text', 'real', 'real', 'real', 'real']
Sample row: ['1', 'Soviet Union', 5.0, 1.0, 1.0, 7.0]
SQL:

assistant: SELECT MAX("Gold") FROM "Table" WHERE "Nation" = 'total' AND "Total" < 24.0;