Table: ghana_election_results_2
Columns: election
candidate
number_of_votes
share_of_votes
outcome_of_election

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 ghana_election_results_2 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 ghana_election_results_2 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 ghana_election_results_2 WHERE "share_of_votes" = '0.9%'

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

Question: What is the share of votes in the 2008 election?
SQL: SELECT "share_of_votes" FROM ghana_election_results_2 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 ghana_election_results_2 WHERE "candidate" = 'edward mahama' AND "share_of_votes" = '0.9%'