Whenever you have a relational database .... <grin/>
No, actually there are laws, see this link.
they are called the five normal forms or something like that. Originally from the guy who invented relational databases in the 50s / 60s, E. F. Codd.
"The key is the whole key and nothing but the key, so help me Codd"
This is a brief overview:
- The table of the first normal form (1NF) faithfully represents the relationship and does not have duplicate groups.
- Second Normal Form (2NF) No the non-prime attribute in the table is functionally dependent on the part (the correct subset) of the candidate key
- The third normal form (3NF) attribute is non-prime independent of each key table. Each nontrivial functional dependence in the table depends on the supercluster
- The fourth normal form (4NF) is a nontrivial multi-valued dependence in the table; there is a dependence on a superkey
- Fifth Normal Form (5NF). Each nontrivial connection dependency in a table is implied by table super-keys. Domain / Key Normal Form (DKNF) Ronald Fagin (1981) [19] Each constraint in a table is a logical consequence of tablespace constraints and key constraints
- Sixteenth normal form (6NF) non-trivial dependencies of the connection in general (with reference to the generalized connection operator)
Charles Bretana
source share