CREATE TABLE "by_county" (
  "county" text,
  "obamapct" text,
  "obamanum" real,
  "mc_cainpct" text,
  "mc_cainnum" real,
  "total" real
);

Question: How many percent of the votes in Debaca did McCain get?
SQL: SELECT "mc_cainpct" FROM "by_county" WHERE "county"='DeBaca';

Question: What percentage of the votes did Obama get in the county where 3909 people voted in total?
SQL: SELECT "obamapct" FROM "by_county" WHERE "total"=3909;

Question: What percentage of the votes did Obama get in the county where McCain got 3648 votes?
SQL: SELECT "obamapct" FROM "by_county" WHERE "mc_cainnum"=3648;