Shared Flashcard Set

Details

Modern Database Management Ch. 4
N/A
25
Computer Science
Graduate
03/02/2014

Additional Computer Science Flashcards

 


 

Cards

Term
relation
Definition
a named two-dimensional table of data
Term
primary key
Definition
an attribute or combination of attributes that uniquely identifies each row in a relation
Term
composite key
Definition
a primary key that consists of more than one attribute
Term
foreign key
Definition
an attribute in a relation that serves as the primary key of another relation in the same database
Term
null
Definition
a value that may be assigned to an attribute when no other value applies or when the applicable value is unknown
Term
entity integrity rule
Definition
a rule that states that no primary key attribute (or component of a primary key attribute) may be null
Term
referential integrity rule
Definition
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
Term
well structured relation
Definition
a relation that contains minimal redundancy and allows users to insert, modify, and delete the rows in a table without errors or inconsistencies
Term
anomaly
Definition
an error or inconsistency that may result when a user attempts to update a table that contains redundant data (three types: insertion, deletion, modification)
Term
surrogate primary key
Definition
a serial number or other system-assigned primary key for a relation
Term
recursive foreign key
Definition
a foreign key in a relation that references the primary key values of the same relation
Term
normalization
Definition
the process of decomposing relations with anomalies to produce smaller, well structured relations
Term
normal form
Definition
a state of a relation that requires that certain rules regarding relationships between attributes (or functional dependencies) are satisfied
Term
functional dependency
Definition
a constraint between two attributes in which the value of one attribute is determined by the value of another attribute
Term
determinant
Definition
the attribute on the left side of the arrow in the functional dependency
Term
candidate key
Definition
an attribute, or combination of attributes, that uniquely identifies a row in a relation
Term
first normal form
Definition
a relation that has a primary key and in which there are no repeating groups
Term
second normal form
Definition
a relation in first normal form in which every nonkey attribute is fully functionally dependent on the primary key
Term
partial functional dependency
Definition
a functional dependency in which one or more nonkey attributes are functionally dependent on part (but not all) of the primary key
Term
third normal form
Definition
a relation that is in second normal form and has no transitive dependencies
Term
transitive dependencies
Definition
a functional dependency between a primary key and one or more nonkey attributes that are dependent on the primary key via another nonkey attribute
Term
alias
Definition
an alternative name used for an attribute
Term
homonym
Definition
an attribute that may have more than one meaning
Term
synonym
Definition
two (or more) attributes that have different names but the same meaning
Term
enterprise key
Definition
a primary key whose value is unique across all relations
Supporting users have an ad free experience!