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, Production code, U.S. viewers (million)
###Question: Who directed the episode with production code ca311?
gpt
SELECT Directed by FROM table WHERE Production code = CA311