CREATE TABLE "match_up_summary" (
  "district" real,
  "incumbent" text,
  "2008_status" text,
  "democratic" text,
  "republican" text,
  "independent_green" text,
  "libertarian" text,
  "other_party" text
);

Question: What was the 2008 election status when glenn nye was the running democrat?
SQL: SELECT "2008_status" FROM "match_up_summary" WHERE "democratic"='Glenn Nye';

Question: Who was the republican candidate in the race with incumbent thelma drake?
SQL: SELECT "republican" FROM "match_up_summary" WHERE "incumbent"='Thelma Drake';

Question: How many districts had republican Bob Goodlatte as a candidate?
SQL: SELECT COUNT("district") FROM "match_up_summary" WHERE "republican"='Bob Goodlatte';

Question: Who was the democratic candidate when the republican was  frank wolf?
SQL: SELECT "democratic" FROM "match_up_summary" WHERE "republican"='Frank Wolf';