34
Relational Algebra Operations
(cont)
Projection
π
X
(r)
=
Proj[X](r)
= {
t[X]
|
t ∈ r
}
X ⊆ R
; result schema is given by attributes in
X
Computational view:
result
= {} for each tuple
t
in relation
r
result
=
result ∪ {t[X]}