What are the student ids?
select stuid from student
Which of those are for students who live in the city with the code CHI?
select stuid from student where city_code = "CHI"