Relational algebra
The relational algebra is a set of operations that
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
manipulate relations as they are defined in the relational model and as such describes part of the data manipulation aspect
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
of this data model. Because of their algebraic properties
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
these operations are often used in database query optimization
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
as an intermediate representation of a query to which certain
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
rewrite rules can be applied to obtain a more efficient version of
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
the query.
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
The exact set of operations may differ per definition and also
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
depends on whether the unlabeled relational model (that uses mathematical relations) or the labeled relational model (that uses
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
the labeled generalization of mathematical relations) is used. We
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
will assume the labeled case here as this is the most common way
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
the relational model is defined. That means that we assume that
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
tuples are partial functions from
Related Topics:
Tuple - Function
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
attribute names to values. The attribute a of a tuple t is
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
denoted in this article as t(a).
~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ Table of Content ~
| ► | Introduction |
| ► | The basic operations |
~ What's Hot ~
~ Community ~
| ► | History Forum Come and discuss about History, Civilizations, Historical Events and Figures |
| ► | History Web-Ring A community of sites, blogs and forums dedicated to History. Do not hesitate to submit your site. |
and are licensed under the GNU Free Documentation License.
Lexicon - Privacy Policy - Spiritus-Temporis.com ©2005.