Home
Flashcards
Preview
Databases Ch 3
Home
Get App
Take Quiz
Create
Characteristics of Relations
Rows contain data about an entity
Columns contain data about attributes of the entities
All entries in a column are of the same kind
Each column has a unique name
Cells of the table hold a single value
The order of the columns is unimportant
The order of the rows is unimportant
No two rows may be identical
Entity
some identifiable thing
Three sources for databases.
existing data
development of new information systems
redesign of existing databases
Columns
Attributes
Rows
Tuples (rhymes with "couples")
File
Table, Relation
Field
Column, Attribute
Record
Row, Tuple
Functional Dependency
the value of one or more attributes determines the value of another attribute
Composite Determinant
two or more attributes determine the value of another
Determinant
the attribute that determines the value of another attribute or set of attributes
Candidate Key
a determinant that determines all of the other columns in a relation
Primary Key
one of the candidate keys that is selected to as the primary means for finding rows in a table - one per table - can have one column or be composite
Surrogate Key
artificial column that is added to a table to serve as the primary key
Foreign Key
a column or composite of columns that is the pirmary key of a table other than the one in which it appears
Referential Integrity Constraint
a statement that limits the values of the foreign key (ensures that the values of a foreign key match a valid value of a primary key)
Three types of anomalies:
Deletion anomaly
Insertion anomaly
Update anomaly
A table that duplicates data is succeptible to anomalies and is said to have ________.
Data Integrity Problems
Deletion Anomaly
when one row is deleted, then the structure of the table forces facts about multiple things to be lost
Insertion Anomaly
the structure of the table forces us to enter facts about two or more entities when we just want to enter facts about one
Update Anomaly
updating a table may create data inconsistency
Author
mjweston
ID
169073
Card Set
Databases Ch 3
Description
Database Processing
Updated
2012-09-05T18:48:33Z
Home
Flashcards
Preview