Find the name of students who took some course offered by Statistics department.
create table student (name varchar, id varchar, PRIMARY KEY (name)); create table takes (course_id varchar, id varchar, PRIMARY KEY (course_id)); create table course (course_id varchar, dept_name varchar, PRIMARY KEY (course_id))
select t3.name from course as t1 join takes as t2 on t1.course_id = t2.course_id join student as t3 on t2.id = t3.id where t1.dept_name = 'statistics'