CREATE TABLE table_74018 ("District" TEXT, "Incumbent" TEXT, "Party" TEXT, "First elected" TEXT, "Result" TEXT, "Candidates" TEXT)

What is the district for the party federalist and the candidates are william craik (f) 51.0% benjamin edwards 49.0%?
SELECT "District" FROM table_74018 WHERE "Party" = 'Federalist' AND "Candidates" = 'William Craik (F) 51.0% Benjamin Edwards 49.0%'
SELECT "District" FROM "table_74018" WHERE "Candidates" = 'William Craik (F) 51.0% Benjamin Edwards 49.0%' AND "Party" = 'Federalist'