human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Animal Name, Species, Books, TV Series, Gender, TV Seasons, Mate, Offspring, First Appearance, Last Appearance
###Question: What animal was yes for tv series and was a terrapins?
gpt
SELECT Animal Name FROM table WHERE TV Series = yes AND Species = terrapins