4. Relational Model

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/36

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 2:51 AM on 10/19/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

37 Terms

1
New cards

Domain

Set of allowable values for an attribute.

2
New cards

Degree

Number of attributes (columns) in a relation.

3
New cards

Cardinality (Relational Table)

Number of tuples (rows) in a relation; different from relationship cardinality.

4
New cards

Relational Table Characteristics

Unique column names, single values per cell, consistent data types, and a unique identifier for each row.

5
New cards

Key

One or more attributes that determine other attributes.

6
New cards

Composite Key

Key consisting of two or more attributes.

7
New cards

Principle of Determination

Knowing attribute A allows you to determine attribute B.

8
New cards

Functional Dependency

When each value of A determines exactly one value of B; written A → B.

9
New cards

Determinant

Attribute on the left side of a functional dependency (A in A → B).

10
New cards

Dependent

Attribute on the right side of a functional dependency (B in A → B).

11
New cards

Superkey

Attribute(s) that uniquely identify each row in a table.

12
New cards

Candidate Key

Minimal superkey; contains no unnecessary attributes.

13
New cards

Primary Key (PK)

Selected candidate key that uniquely identifies each row; cannot be null.

14
New cards

Foreign Key (FK)

Attribute(s) referencing a key in another relation; may be null if permitted.

15
New cards

Secondary Key

Attribute(s) used strictly for data retrieval.

16
New cards

Entity Integrity

Primary key values must be unique and cannot be null.

17
New cards

Referential Integrity

Foreign key must match a referenced key or be null if allowed.

18
New cards

General Constraints

Additional restrictions based on business rules to maintain data integrity.

19
New cards

NO ACTION

Rejects deletion of a parent row if dependent child rows exist.

20
New cards

CASCADE

Updates or deletes matching child rows when the parent row is updated or deleted.

21
New cards

SET NULL

Sets child foreign keys to null when the parent is deleted; requires nullable foreign keys.

22
New cards

SET DEFAULT

Sets child foreign keys to a specified default value when the parent is deleted.

23
New cards

Parent Relation

Table containing the key referenced by a foreign key in another table.

24
New cards

Child Relation

Table containing the foreign key referencing the parent relation.

25
New cards

NOT NULL Constraint

Requires every row to have a value for the specified attribute.

26
New cards

UNIQUE Constraint

Prevents duplicate values in a specified attribute.

27
New cards

Flags (Dummy Values)

Fake placeholder values used instead of nulls; should be avoided for legitimately unknown data.

28
New cards

Historical Data Redundancy

Intentional duplication of data to preserve historical accuracy, such as an invoice's original price.

29
New cards

Relational Schema

Relation name followed by attributes in parentheses; PK bold and underlined, FK italicized.

30
New cards

Relational Database Schema

Collection of all relation schemas in a database.

31
New cards

1:M Relationship in Relational Model

Preferred relationship type; one parent row may relate to many child rows.

32
New cards

1:1 Relationship in Relational Model

One row relates to one other row; sometimes suggests entities could be combined.

33
New cards

M:N Relationship Resolution

Create a composite entity to convert M:N into two 1:M relationships.

34
New cards

Composite Entity

Bridge table containing foreign keys referencing the two related entities.

35
New cards

Homonym

Same attribute name used for different meanings; should be avoided.

36
New cards

Synonym

Different attribute names used for the same meaning; should be avoided.

37
New cards

Relational Model Documentation

Identifies keys, relationships, business rules, and actions when records are updated or deleted.