Modern Database Management - Chapter 4 Flashcards

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/20

flashcard set

Earn XP

Description and Tags

Flashcards for reviewing Modern Database Management Chapter 4

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

21 Terms

1
New cards

Relation

A named, two-dimensional table of data consisting of rows (records) and columns (attributes or fields). Must have a unique name, atomic attribute values, unique rows, unique attribute names, and irrelevant column and row order.

2
New cards

Primary Keys

Unique identifiers of a relation, ensuring all rows are unique.

3
New cards

Foreign Keys

Identifiers that enable a dependent relation to refer to its parent relation.

4
New cards

Domain Constraints

Allowable values for an attribute, including data types and restrictions on values.

5
New cards

Entity Integrity

States that no primary key attribute may be null, ensuring all primary key fields contain data values.

6
New cards

Referential Integrity

Rules that maintain consistency between the rows of two related tables.

7
New cards

Restrict Delete Rule

Don’t allow delete of “parent” side if related rows exist in “dependent” side.

8
New cards

Cascade Delete Rule

Automatically delete “dependent” side rows that correspond with the “parent” side row to be deleted.

9
New cards

Set-to-Null Delete Rule

Set the foreign key in the dependent side to null if deleting from the parent side, not allowed for weak entities.

10
New cards

Well-Structured Relations

Relations that contain minimal data redundancy and allow users to insert, delete, and update rows without causing data inconsistencies.

11
New cards

Insertion Anomaly

Adding new rows forces user to create duplicate data.

12
New cards

Deletion Anomaly

Deleting rows may cause a loss of data that would be needed for other future rows.

13
New cards

Modification Anomaly

Changing data in a row forces changes to other rows because of duplication.

14
New cards

Functional Dependency

The value of one attribute (the determinant) determines the value of another attribute.

15
New cards

Candidate Key

A unique identifier for a record.

16
New cards

First Normal Form (1NF)

No multivalued attributes; every attribute value is atomic

17
New cards

Second Normal Form (2NF)

1NF plus every non-key attribute is fully functionally dependent on the ENTIRE primary key; no partial functional dependencies.

18
New cards

Third Normal Form (3NF)

2NF PLUS no transitive dependencies (functional dependencies on non-primary-key attributes).

19
New cards

View Integration

Combining entities from multiple E-R models into common relations.

20
New cards

Synonyms (in merging relations)

Two or more attributes with different names but same meaning.

21
New cards

Homonyms (in merging relations)

Attributes with same name but different meanings.