CREATE TABLE "by_county" (
  "county" text,
  "coakley_pct" text,
  "coakley_votes" real,
  "brown_pct" text,
  "brown_votes" real,
  "kennedy_pct" text,
  "kennedy_votes" real
);

Question: What percentage did kennedy win while coakly won 37.9%
SQL: SELECT "kennedy_pct" FROM "by_county" WHERE "coakley_pct"='37.9%';

Question: How many votes did kennedy win when coakley won 66.2%
SQL: SELECT MIN("kennedy_votes") FROM "by_county" WHERE "coakley_pct"='66.2%';

Question: What was the percentage of votes for coakley when kennedy won 1.6%
SQL: SELECT "coakley_pct" FROM "by_county" WHERE "kennedy_pct"='1.6%';

Question: How many votes did kennedy win when coaklely won 2139 votes?
SQL: SELECT COUNT("kennedy_votes") FROM "by_county" WHERE "coakley_votes"=2139;