CREATE TABLE "presidential_elections" (
  "election" real,
  "candidate" text,
  "number_of_votes" text,
  "share_of_votes" text,
  "outcome_of_election" text
);

Question: What is the number of the votes of the election before 2004 with edward mahama as the candidate with 3.0% share of votes?
SQL: SELECT "number_of_votes" FROM "presidential_elections" WHERE "candidate"='edward mahama' AND "election"<2004 AND "share_of_votes"='3.0%';

Question: What is the outcome of the election with edward mahama as a candidate and 73,494 votes?
SQL: SELECT "outcome_of_election" FROM "presidential_elections" WHERE "candidate"='edward mahama' AND "number_of_votes"='73,494';

Question: What is the earlest election with a 0.9% share of votes?
SQL: SELECT MIN("election") FROM "presidential_elections" WHERE "share_of_votes"='0.9%';

Question: Who is the candidate with 73,494 votes?
SQL: SELECT "candidate" FROM "presidential_elections" WHERE "number_of_votes"='73,494';

Question: What is the share of votes in the 2008 election?
SQL: SELECT "share_of_votes" FROM "presidential_elections" WHERE "election"=2008;

Question: What is the number of votes of candidate edward mahama, who had 0.9% share of votes?
SQL: SELECT "number_of_votes" FROM "presidential_elections" WHERE "candidate"='edward mahama' AND "share_of_votes"='0.9%';