RelationalDBDesign
SiteMap
Database Analysis
Database Design
Extended DB Features
Oracle SQL Extensions
Diagram Conventions
«Prev
Next»
Database Design
Database Structure
Relational Database Model
Relationally Complete
Relational Completeness
Database Structure
Linking Database Tables
SQL in RDBMS
Create Table SQL
DBMS
Database Change Management
Relational DB Structure
Database Life Cycle
Database Design Strategy
Subject Approach DB Design
Design Subject
Application Approach Design
Schema Architecture
Three Schema Arch
DBLC Design Stages
Post Design Stages
Design Tools
DB Design Strategy Conclusion
Requirements Analysis
Requirements Analysis
Define Business Objects
BO Characteristics
Business Rules Importance
Interview Data Users
Data Flow Diagram
Creating User Views
Calculated Fields
Requirements Documentation
Requirements Analysis Conclusion
Attributes and Entities
Entities Conceptual Model
Store Entity Values
Rules for Creating Identifiers
Entity Instances
Attribute Domains Types
Multivalued Attribute
Multi-Valued Attributes
Multivalued Attribute(resolve)
Entity Attribute Constraints
Module Summary
ER Diagrams
ERD Concept
Three Relationship Types
One to One Relationships
Identify one To One
One to many Relationships
Identify One to Many
Define many To Many
Identify Many To Many
Many to Many Challenges
Convert m:n to 1:n
Mandatory Optional Relationship
Optional Participation Relationships
ERD Conclusion
ERD Conventions
ER Diagram
Three Model Types
idef1x Crowsfoot Chen Models
Entity Attribute Relationship
ER Diagram Types
Crow's Foot Notation
DB Participation Types
Interview End- Users
Verbalize ER Diagram
ER diagram model Types
ER Diagram Participation - Exercise
Diagramming types of participation
Diagramming Relationships and Types of participation (course project exercise 3)
Objective:
Complete an ER diagram for the Stories on CD case study.
Exercise Scoring
This exercise is worth a total of 60 points. You will receive up to five points for each correctly submitted piece of information according to the instructions below.
Background/overview
The preceding two lessons identified the constructs used to diagram relationship types between entities (1:1, 1:N, and M:N) and the symbols placed on the constructs to indicate mandatory and optional entity participation in the various relationships. In this exercise, you will use these symbols and constructs to create an ER diagram for the Stories on CD case study.
Instructions
Below are the five entities for Stories on CD, with attributes added.
Five entities for Stories on CD
Next are five possible relationship constructs labeled A through E, with participation type included on the construct.
Five possible relationships
Your task, moving left to right through the Stories on CD entities, is to select the appropriate construct for each relationship. There are four relationships to consider:
CUSTOMER:ORDER
ORDER:LINE ITEM
LINE ITEM:CD
CD:DISTRIBUTOR
For each entity, you must also identify all key types
for that relationship
. Use the sample format below for your answers.
VENDOR:PRODUCT
Use construct D
VENDOR: VendID=PK PRODUCT: ProdID=PK, VendID=FK
Hints
Do not forget about the CPK/FK key types.
Submitting your exercise
Type or paste your answers into the text box below, then click
Submit
to submit them and view a results page. You will receive a response as you submit the form.