SELECT count(*) FROM course WHERE course_id NOT IN (SELECT course_id FROM prereq)
How many courses that do not have prerequisite?
SELECT count ( * ) FROM course WHERE course_id NOT IN ( SELECT course_id FROM prereq )
select count ( * ) from course where course_id not in ( select course_id from prereq )
How many courses that do not have prerequisite ?