CREATE TABLE "table1_2668374_18" (
  "district" text,
  "incumbent" text,
  "party" text,
  "first_elected" text,
  "result" text,
  "candidates" text
);

Question: Who was the incumbent in Virginia 3?
SQL: SELECT "incumbent" FROM "table1_2668374_18" WHERE "district"='Virginia 3';

Question: What incumbent was a federalist that was first elected in 1803?
SQL: SELECT "incumbent" FROM "table1_2668374_18" WHERE "party"='Federalist' AND "first_elected"='1803';

Question: How many parties were first elected in 1805?
SQL: SELECT COUNT("party") FROM "table1_2668374_18" WHERE "first_elected"='1805';

Question: What district was John Dawson from?
SQL: SELECT "district" FROM "table1_2668374_18" WHERE "incumbent"='John Dawson';