Chapter 10 Study Questions Flashcards
A table in a relational database represents an object or ______.
entity
Within each table, each column stores one item of information or _________.
attribute
Each table row stores one occurrence, or ________, of the entity.
instance
The _______ key for a table uniquely identifies each row. It should be persistent and minimal.
primary
To implement a one-to-many relationship between tables, add a _______ key on the “many” side.
foreign
A many-to-many relationship between two tables is implemented with a _______ table.
linking table
___________ _________ means that the relationships between tables are maintained correctly (i.e. a table with foreign key values have matching key vales in the related table).
Referential integrity
If referential integrity is not enforced and a row is deleted from the primary key (or parent) table that has related rows in the foreign key table are said to be ________.
orphaned
_____________ is a formal process used to separate data in a data structure into separate tables. The purpose of this process is to reduce data redundancy.
Normalization
With an ____________ data structure, a table can contain information about two or more entities, repeating columns, and data that is repeated in two or more rows.
unnormalized
In a __________ ____ _________, each table contains information about a single entity, and each piece of information is stored in exactly one place.
normalized data structure
To normalize a data structure, apply the ______ _____ in sequence.
normal forms
An _____ is a structure that provides for locating one or more rows directly.
index
Without an index, a database management system has to perform a _____ ____ which involves searching through the entire table.
table scan
A _________ index consists of two or more columns.
composite