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
###Question: What is the season where the episode "when worlds collide" was shown?
gpt
SELECT MAX Season # FROM table WHERE Title = "When Worlds Collide"