user: Question: WHAT IS AN AVERAGE ELECTORATE WITH VOTES OF 28475 AND SPOILT SMALLER THAN 5779?
Columns: ['Constituency', 'Electorate', 'Votes', 'Turnout', 'Spoilt', 'Percent Yes']
Types: ['text', 'real', 'real', 'real', 'real', 'real']
Sample row: ['Cork City', 53019.0, 38850.0, 73.3, 2693.0, 57.4]
SQL:

assistant: SELECT AVG("Electorate") FROM "Table" WHERE "Votes" = 28475.0 AND "Spoilt" < 5779.0;