Relational Database Constraints
Relational model represents the database as a collection of relations. A relation is nothing but a table of values.
Figure 5.1 The attributes and tuples of a relation STUDENT
.
In the formal relational model terminology:
The data type describing the types of values that can appear in each column is represented by a domain of possible values.
A domain $D$ is a set of atomic values. By atomic we mean that each value in the domain is indivisible as far as the formal relational model is concerned.
A relational schema is denoted by,
$$ R(A_1, A_2, \dots, A_n) $$
where $R$ is the name of the relation and $A_i$ is the name of each attribute.
A relation $r$ of the relational schema is a set of of $n$-tuples,
$$ r = \{t_1, t_2, \dots, t_m\} $$
Each $n$-tuples $t$ is an ordered list of $n$ values,