CREATE TABLE table_24584 ("No." FLOAT, "Title" TEXT, "Directed by" TEXT, "Written by" TEXT, "Original air date" TEXT, "Production code" TEXT, "U.S. viewers  ( million ) " TEXT)

who wrote the no 2?
SELECT "Written by" FROM table_24584 WHERE "No." = '2'
SELECT "Written by" FROM "table_24584" WHERE "No." = '2'