Instruct: Name who wrote the episode directed by patrick duffy airing on november 7, 1997
Output: SELECT Written by FROM table WHERE Directed by = Patrick Duffy AND Original air date = November 7, 1997