CREATE TABLE table_3709 ("Total #" FLOAT, "Episode #" FLOAT, "Title" CLOB, "Directed by" CLOB, "Written by" CLOB, "Original air date" CLOB)

What episode was written by Matt Maclennan?
SELECT MAX("Episode #") FROM table_3709 WHERE "Written by" = 'Matt MacLennan'
SELECT MAX("Episode #") FROM "table_3709" WHERE "Written by" = 'Matt MacLennan'