user: Question: When "The Legacy" is the title what is the production code?
Columns: ['Series #', 'Season #', 'Title', 'Directed by', 'Written by', 'Original air date', 'Production code']
Types: ['real', 'real', 'text', 'text', 'text', 'text', 'text']
Sample row: [45.0, 1.0, '"It Takes Two, Baby"', 'Burt Brinckerhoff', 'Brenda Hampton', 'September21,1998', '2.92']
SQL:

assistant: SELECT "Production code" FROM "Table" WHERE "Title" = '"The Legacy"';