CREATE TABLE table_28672 ("No. in series" FLOAT, "No. in season" FLOAT, "Title" TEXT, "Directed by" TEXT, "Written by" TEXT, "Original air date" TEXT, "Production code" TEXT, "U.S. viewers  ( millions ) " TEXT)

who wrote the episode having joe daniello as director with production code 6ajn05?
SELECT "Written by" FROM table_28672 WHERE "Directed by" = 'Joe Daniello' AND "Production code" = '6AJN05'
SELECT "Written by" FROM "table_28672" WHERE "Directed by" = 'Joe Daniello' AND "Production code" = '6AJN05'