Beruflich Dokumente
Kultur Dokumente
7th Sem.
008978 1 bread 2 2 4
008978 2 apples 5 6 30
099488 1 cheese 1 17 17
Fourth Normal Form
Fourth normal form (4NF):
Relation is already in 3NF
There are no multivalued dependencies
(Multivalued Dependencies considering the schema ABC,
multivalued dependency exists if to each A corresponds many B and
many C, but the B and C are independent of each other)
Components (3NF)
Department Project Component
Components
D1 Pr1 C1
Department Project Component
D1 Pr1 C2
D1 Pr1 C1
D1 Pr1 C3
Pr2 C2
C3 D1 Pr2 C1
D2 Pr2 C2 D2 Pr2 C2
Pr3 C4 ... ... ...
Pr5
D2 Pr5 C4
Relational Query Languages
Relational query language: designed for data finding,
retrieving and management
Relational model enable simple and powerful query
languages (e.g. SQL, QBE):
Strong formal foundation based on algebra/logic
Allows fine optimization
Query languages are not programming languages:
Pure QL are not turing-complete (SQL92), but extensions as
PL/SQL could be
E.g. Recursive closure could not be expressed
But they provide efficient data access!