Relation scheme

from Wikipedia, the free encyclopedia

A relation scheme describes a set of attributes. If there are attributes, then there is a relation scheme.

A relation is a relation with the relation schema , i. H.

contains tuples (lines) that correspond to the relation scheme.

example

Imagine z. B. before a customer database in which customer data is stored in a table. The relation scheme for this customer relation could e.g. B. have the following form:

The relation with relation scheme , that is , could then contain tuples of the form .

See also