CREATE TABLE "presidential_elections" (
  "election" real,
  "candidate" text,
  "running_mate" text,
  "total_votes" real,
  "share_of_votes" text,
  "outcome" text
);

Question: How many votes did Lee Teng-Hui receive when he was elected?
SQL: SELECT MAX("total_votes") FROM "presidential_elections" WHERE "outcome"='elected' AND "candidate"='lee teng-hui';