7 - Designing Relational Databases from ER Diagrams — Topics & Learning Outcomes

📋 Module Topics🎯 Student Learning Outcomes

Module Topics

Introduction to ER Diagrams and Relational Schemas

An overview of Entity-Relationship diagrams and their role as a blueprint for relational database design. This topic establishes the foundational concepts and terminology needed before conversion begins.

Mapping Strong Entities and Attributes to Tables

Covers the process of converting strong entities and their attributes into relational tables with appropriate columns. Students learn how to identify and assign primary keys during this mapping step.

Handling One-to-Many Relationships

Explains how to represent one-to-many relationships between entities by incorporating foreign keys into the appropriate table. Students practice determining which side of the relationship holds the foreign key reference.

Handling Many-to-Many Relationships

Describes the creation of junction tables to resolve many-to-many relationships between entities in a relational schema. Students learn how composite primary keys and foreign keys are used within these associative tables.

Mapping Weak Entities and Their Relationships

Addresses the special considerations required when converting weak entities, which depend on a parent entity for their identification. Students learn how partial keys and foreign keys combine to form the primary key of a weak entity's table.

Validating and Refining the Relational Schema

Guides students through reviewing the completed schema for correctness, consistency, and integrity constraints derived from the original ER diagram. This topic reinforces best practices for ensuring the schema accurately reflects the intended data model.

Student Learning Outcomes

By the end of this module, students will be able to:

MO1
Identify the correct relational table structure, primary key, and column assignments for strong entities, weak entities, and their attributes as specified in a given ER diagram
Level: ApplyType: CognitiveCourse mapping: —
MO2
Apply the foreign key placement rule to convert one-to-many relationships from an ER diagram into a correctly structured relational schema
Level: ApplyType: CognitiveCourse mapping: —
MO3
Construct a junction table with appropriate composite primary keys and foreign keys to resolve a many-to-many relationship in a given ER diagram
Level: CreateType: CognitiveCourse mapping: —
MO4
Form the composite primary key of a weak entity's table by combining its partial key with the foreign key inherited from its owner entity
Level: ApplyType: CognitiveCourse mapping: —
MO5
Evaluate a completed relational schema for correctness by cross-checking primary key integrity, foreign key referential integrity, and normalization up to Third Normal Form against the original ER diagram
Level: EvaluateType: CognitiveCourse mapping: —

Course Outcomes (reference)

CO1Analyze a problem and identify computing and user requirements to implement the proper solution capturing the impact of the implementation on the local and the global levels.
CO2Design, normalize, and implement database systems
CO3Develop the ability to manipulate databases using database management tools, techniques and their computer skills.
CO4Recognize professional, ethical, and legal issues associated with database and database management.