Professional Documents
Culture Documents
Rel Algebra2
Rel Algebra2
Rel Algebra2
Yufei Tao
returns:
rank
asso
T1 ∩ T2 = T1 − (T1 − T2 )
where
S = (S1 − S2 ) ∪ {T1 .A1 , ..., T1 .Ad } ∪ (S2 − S1 )
where S1 and S2 are the schemas of T1 and T2 respectively, and
A1 , ..., Ad are the common attributes of T1 and T2 .
T1 ÷ T2 returns:
pid
p1
p4