TCBE 2019. 4. 24. 03:06

Count(*)를 제외한 모든 집계함수는 null값을 무시


select distinct course_id

from0 section

where semester = 'Fall' and year = 2009 and

course_id in(select course_id

     from section

     where semester = 'Spring' and year = 2010);


A는 릴레이션 B를 포함한다 - not exists(B except A)