Question: which countries' tv channels are playing some cartoon written by Todd Casey?
Schema: create table tv_channel (country varchar, id varchar, PRIMARY KEY (country)); create table cartoon (channel varchar, written_by varchar, PRIMARY KEY (channel))
SQL: select t1.country from tv_channel as t1 join cartoon as t2 on t1.id = t2.channel where t2.written_by = 'todd casey'