The select operation is a unary
operation, which means it operates on one relation. Its function
is to select tuples that satisfy a given predicate. To denote selection,
the lowercase Greek letter sigma (
) is used.
The predicate appears as a subscript to
. The
argument relation is given in parentheses following the
.
For example, to select those tuples of the loan relation where
the branch is "Perryridge," we write:
branch-home
= "Perryridge" (loan)
The results of the query are the following: