CREATE TABLE "summary" (
  "district" real,
  "incumbent" text,
  "2008_status" text,
  "democratic" text,
  "republican" text
);

Question: Which District has a 2008 Status of re-election, and a Democratic david price?
SQL: SELECT AVG("district") FROM "summary" WHERE "2008_status"='re-election' AND "democratic"='david price';

Question: Which District has a Republican of dan mansell?
SQL: SELECT AVG("district") FROM "summary" WHERE "republican"='dan mansell';

Question: Which Republican has a District of 10?
SQL: SELECT "republican" FROM "summary" WHERE "district"=10;

Question: Which Incumbent has a Republican of dan mansell?
SQL: SELECT "incumbent" FROM "summary" WHERE "republican"='dan mansell';

Question: Which Democratic has a District smaller than 7, and a Republican of dan mansell?
SQL: SELECT "democratic" FROM "summary" WHERE "district"<7 AND "republican"='dan mansell';