lecture 4_
lecture 4_
Relational Database
Operators
Introduction
Operators - Write
INSERT - provides a list of attribute values for a new tuple in a
relation. This operator is the same as SQL.
DELETE - provides a condition on the attributes of a relation to
determine which tuple(s) to remove from the relation. This operator is
the same as SQL.
MODIFY - changes the values of one or more attributes in one or
more tuples of a relation, as identified by a condition operating on
the attributes of the relation. This is equivalent to SQL UPDATE.
Operators - Retrieval
There are two groups of operations:
Mathematical set theory based relations:
UNION, INTERSECTION, DIFFERENCE, and CARTESIAN PRODUCT.
Special database operations:
SELECT (not the same as SQL SELECT), PROJECT, and JOIN.
Relational Functions
Figure 2.12
Figure 2.13 Natural Join, Step 2: SELECT