user: ### NOW ANSWER:
Question: How many votes did Lee Teng-hui receive when he was Elected?
Columns: ['Election', 'Candidate', 'Running mate', 'Total votes', 'Share of votes', 'Outcome']
Types: ['real', 'text', 'text', 'real', 'text', 'text']
Sample row: [1996.0, 'Lee Teng-hui', 'Lien Chan', 5813699.0, '54.0%', 'Elected']
SQL:

assistant: SELECT MAX("Total votes") FROM "Table" WHERE "Outcome" = 'Elected' AND "Candidate" = 'Lee Teng-hui';