-
수행절차
-1) 카티시안곱을 수행
-2) 조인 조건을 이용하여 선택 연산을 수행하고
-3) 조인 조건에 언급된 속성을 이용하여 투영연산을 수행한다.
-
특징
- 타 관계 대수 연산에 비해 비싼(=시간많이 소요) 연산
-
relational algebra와 동치
- R = (A, B, C, D) S = (B, D, E) 일때,
-R⋈S:Πr.A,r.B,r.d,s.E(σr.B=s.B∪r.D=s.D(rXs))
-
결합성, 교환성 충족

-
example1)

-
example 2)
Retrieve professor names who teach in the Fall semester of 2020 together with the course titles that the professors teach
myCorse←ρmycorse(cID,title,newDeptName,credit)(corse)
Πname,title(σsemester="FALL"∧year="2020"(professor⋈teaches⋈myCourse))
OR
Πname,title((σsemester="FALL"∧year="2020"(teaches))⋈professor⋈myCorse)
- course 테이블을 myCourse 테이블로 재명명하는 이유는 deptName 속성 이름을 변경하기 위함이다. 재명명을 하지 않으면, course의 deptName과 professor의 deptName 속성간에 조인이 발생하기 때문