Chapter 2
Chapter 2
Relational Model
A1 A2 An
tuple a1 a2 an
Example of a Relation
The current values (relation instance) of a relation are often specified in
tabular form
Caveat: being a set, the tuples of the relation do not have any order
defined as implied by the tabular representation
An element t of r is a tuple, represented as a row in a table
attributes
(or columns)
Tuples ordered by ID
(or rows)
Attribute Types
The set of allowed values for each attribute is called
the domain or data type of the attribute
Attribute values are (normally) required to be atomic;
that is, indivisible
E.g., integer values
E.g., not address (street, city, zip code, state, country)