Misplaced Pages

Elementary key normal form

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Enhancement on third normal form when there is more than one unique compound key and they overlap
This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these messages)
This article may be too technical for most readers to understand. Please help improve it to make it understandable to non-experts, without removing the technical details. (December 2012) (Learn how and when to remove this message)
This article includes a list of general references, but it lacks sufficient corresponding inline citations. Please help to improve this article by introducing more precise citations. (May 2018) (Learn how and when to remove this message)
(Learn how and when to remove this message)

Elementary key normal form (EKNF) is a subtle enhancement on third normal form, thus EKNF tables are in 3NF by definition. This happens when there is more than one unique compound key and they overlap. Such cases can cause redundant information in the overlapping column(s).

History

EKNF was defined by Carlo Zaniolo in 1982.

Definition

A table is in EKNF if and only if all its elementary functional dependencies begin at whole keys or end at elementary key attributes. For every full non-trivial functional dependency of the form X→Y, either X is a key or Y is (a part of) an elementary key.

In this definition, an elementary functional dependency is a full functional dependency (a non-trivial functional dependency X → A such that there is no functional dependency X' → A that also holds with X' being a strict subset of X), and an elementary key is a key X for which there exists an attribute A such that X → A is an elementary functional dependency.

Example

This section needs expansion. You can help by adding to it. (March 2024)

For an example of a table whose highest normal form is EKNF, see Boyce–Codd normal form#Achievability of BCNF.

Notes

  1. ^ Zaniolo, Carlo (September 1982). "A New Normal Form for the Design of Relational Database Schemata" (PDF). ACM Transactions on Database Systems. 7 (3): 489–499. doi:10.1145/319732.319749. S2CID 15790238.

References

  • Halpin, T. A.; Morgan, Antony J.; Morgan, Tony. Information Modeling and Relational Databases.
  • Date, C. J. "Elementary key normal form (EKNF)". Database Design and Relational Theory.
  • Celko, Joe. SQL for Smarties: Advanced SQL Programming (3rd ed.).
Database normalization
Dependencies
Denormalization
Category: