Using takes joined to course, find the ids of students who have taken at least one course in the Comp. Sci. department but have never taken a course in the Mathematics department. Build the set of student ids enrolled in Comp. Sci. courses and remove from it every student id enrolled in any Mathematics course.
Return one column: ID. Order does not matter.
Database schema
primary keyforeign keyarrow points to the referenced columndrag to pan