Chapter 4 Vocab Flashcards
Relation
a named 2D 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 may be a 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 the contains minimal redundancy and allows users to insert, modify, and delete the rows in a table without errors or inconsistencies
Anomaly
an error that may result when a user attempts to update a table that contains redundant data 3 Types of Error 1. Insertion 2. Deletion 3. Modification Anomaly
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 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