Question: Find the name of students who didn't take any course from Biology department.
Schema: create table student (name varchar, id varchar, PRIMARY KEY (name)); create table course (course_id varchar, dept_name varchar, PRIMARY KEY (course_id)); create table takes (id varchar, course_id varchar, PRIMARY KEY (id))
SQL: select name from student where not id in (select t1.id from takes as t1 join course as t2 on t1.course_id = t2.course_id where t2.dept_name = 'biology')