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

Question: What is the highest number of votes for McCain in a county that voted 1.6% for other, 40.5% for McCain, and fewer than 256,299 votes for Obama?
SQL: SELECT MAX("mc_cainnum") FROM "by_county" WHERE "otherspct"='1.6%' AND "mc_cainpct"='40.5%' AND "obamanum"<'256,299';

Question: What is the highest number of votes for McCain in a county with fewer than 6,379 votes for Obama and 52.8% of votes for McCain?
SQL: SELECT MAX("mc_cainnum") FROM "by_county" WHERE "obamanum"<'6,379' AND "mc_cainpct"='52.8%';