human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Series #, Season #, Title, Directed by, Written by, Original air date, Prod. code, U.S. viewers (millions)
###Question: What number episode in the season had a production code of 334?
gpt
SELECT MAX Season # FROM table WHERE Prod. code = 334