Chapter 04 - Logical Database Design Flashcards
relation
a two-dimensional table of data
primary key
an attribute or a combination of attributes that uniquely identifies each row in a relation
composite key
a primary key that consists of more than one attribute
foreign key
an attribute in a relation that serves as the primary key of another relation in the same database
null
A value that may be assigned to an attribute when no other value applies or when the applicable value is unknown.
entity integrity rule
A rule that states that no primary key attribute (or component of an attribute) may be null
referential integrity constraint
a rule that states that either each foreign key value must match a primary key value in another relation or the foreign key value must be null.
well-structured relation
a relation that contains minimal redundancy and allows users to insert, modify, and delete the rows in a table without errors or inconsistencies
anomaly
an error or inconsistency that may result when a user attempts to update a table that contains redundant data
surrogate primary key
a serial number or other system-assigned primary key for a relation
recursive foreign key
a foreign key in a relation that references the primary key values of the same relation
normalization
the process of decomposing relations with anomalies to produce smaller, well-structured relations
normal form
a state of a relation that requires that certain rules regarding relationships between attributes (or functional dependencies) are satisfied
functional dependency
a constraint between two attributes in which the value of one attribute is determined by the value of another attribute
determinant
the attribute on the left side of the arrow in a functional dependency