CREATE TABLE "new_mexico" (
  "poll_source" text,
  "sample_size" real,
  "date" text,
  "democrat" text,
  "republican" text
);

Question: What was the date for Ron Paul as republican and a sample sized less than 472?
SQL: SELECT "date" FROM "new_mexico" WHERE "sample_size"<472 AND "republican"='ron paul';

Question: Who was the Democrat when the Republican was Mike Huckabee, and the sample size was less than 495?
SQL: SELECT "democrat" FROM "new_mexico" WHERE "sample_size"<495 AND "republican"='mike huckabee';