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

Question: What is the total average for McCain% of 55.0% and Obama# higher than 3,487?
SQL: SELECT AVG("total") FROM "by_county" WHERE "mc_cainpct"='55.0%' AND "obamanum">'3,487';