Converting Entity Relationship Models to Relational Models

0.0(0)
studied byStudied by 0 people
full-widthCall with Kai
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/16

flashcard set

Earn XP

Description and Tags

Flashcards covering key concepts and conversion rules for transforming Entity Relationship Models into Relational Models, including different types of relationships and special cases.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

17 Terms

1
New cards

Database Development Lifecycle

A structured process for developing databases, including identifying problems, gathering requirements, creating conceptual and logical models, optimizing, and implementing.

2
New cards

Conceptual Data Model

An abstract model representing the problem domain, typically using an Entity Relationship Model (ERM).

3
New cards

Logical Data Model

A more detailed representation of the data structure, typically using a Relational Model, derived from the conceptual model.

4
New cards

Entity (Conceptual Model)

A real-world object or concept in the Entity Relationship Model, which converts to a 'Relation' in the Logical Model and a 'Table' in the Physical Model.

5
New cards

Relation (Logical Model)

A tabular structure in the Relational Model, derived from an Entity in the Conceptual Model, and implemented as a 'Table' in the Physical Model.

6
New cards

Attribute (Conceptual/Logical Model)

A characteristic or property of an Entity or Relation, which converts to a 'Column' in the Physical Model.

7
New cards

Identifier (Conceptual Model)

An attribute or set of attributes that uniquely identifies an Entity, which converts to a 'Key' in the Logical Model and a 'Primary Key' in the Physical Model.

8
New cards

Key (Logical Model)

An attribute or set of attributes that uniquely identifies a Tuple (row) in a Relation, becoming a 'Primary Key' in the Physical Model.

9
New cards

Foreign Key (FK)

An attribute in one relation that refers to the Primary Key of another relation, used to establish relationships between tables.

10
New cards

One-To-Many Relationship Conversion

The process where the Key from the 'One' side of the relationship is copied as a Foreign Key to the relation on the 'Many' side.

11
New cards

One-To-One Relationship Conversion

The process where a Foreign Key is placed on one of the sides only, typically copying the Key from one relation to another related relation.

12
New cards

Many-To-Many Relationship Conversion

The process of creating a new 'Intersection Relation' that combines the names of both entities and includes the Keys from both sides as Foreign Keys, forming a Composite Key for the new relation.

13
New cards

Intersection Relation

A new relation created to resolve a Many-To-Many relationship, containing the Foreign Keys from both participating entities, which together form its Composite Key.

14
New cards

Composite Key

A key that consists of two or more attributes that together uniquely identify a row in a relation.

15
New cards

ID Dependent Entity

An entity whose identifier (and thus its primary key in the relational model) depends on the identifier of another entity, resulting in a composite key that often includes a foreign key from the parent entity.

16
New cards

Multiple Relationships (Same Entities)

When converting an ER model with multiple relationships between the same two entities, each relationship results in a separate foreign key in the relational model, typically with different names to distinguish them.

17
New cards

Unary Relationship

A relationship of Degree 1 where an entity is related to itself; in conversion, the entity's key is added as a foreign key in the same relation, typically renamed to avoid confusion.