CREATE TABLE table_3658 ("Series #" FLOAT, "Season #" FLOAT, "Title" CLOB, "Directed by" CLOB, "Written by" CLOB, "Original air date" CLOB, "Production code" CLOB)

When 'the legacy' is the title what is the production code?
SELECT "Production code" FROM table_3658 WHERE "Title" = 'The Legacy'
SELECT "Production code" FROM "table_3658" WHERE "Title" = 'The Legacy'