+ All Categories
Home > Documents > Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Date post: 18-Jan-2016
Category:
Upload: giles-flowers
View: 217 times
Download: 1 times
Share this document with a friend
Popular Tags:
34
Lecture 03 Entity- Relationship Diagram
Transcript
Page 1: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Lecture 03

Entity-Relationship Diagram

Page 2: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Chapter Outline

Page 3: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Overview of Database Design Process

Page 4: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Overview of Database Design Process

Page 5: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Example COMPANY Database

Page 6: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Example COMPANY Database(Contd.)

Page 7: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

ER Model Concepts

Page 8: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Types of Attributes (1)

Page 9: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Types of Attributes (2)

Page 10: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Example of a composite attribute

Page 11: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Entity Types and Key Attributes (1)

Page 12: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Entity Types and Key Attributes (2)

Page 13: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Displaying an Entity type

Page 14: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Entity Type CAR with two keys and acorresponding Entity Set

Page 15: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Entity Set

Page 16: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Initial Design of Entity Types for theCOMPANY Database Schema

Page 17: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Initial Design of Entity Types:EMPLOYEE, DEPARTMENT, PROJECT,

DEPENDENT

Page 18: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Refining the initial design by introducing

relationships

Page 19: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Relationships and Relationship Types (1)

Page 20: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Relationship type vs. relationship set (1)

Page 21: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Relationship type vs. relationship set (2)

Page 22: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Refining the COMPANY databaseschema by introducing relationships

Page 23: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Discussion on Relationship Types

Page 24: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Recursive Relationship Type

Page 25: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Weak Entity Types

Page 26: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Constraints on Relationships

Page 27: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Recursive Relationship Type is: SUPERVISION

(participation role names are shown)

Page 28: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Attributes of Relationship types

Page 29: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Notation for Constraints onRelationships

Page 30: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Alternative (min, max) notation forrelationship structural constraints:

Page 31: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Alternative diagrammatic notation

Page 32: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Summary of notation for ER diagrams

Page 33: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Extended Entity-Relationship (EER)Model (in next chapter)

Page 34: Lecture 03 Entity-Relationship Diagram. Chapter Outline.

Chapter Summary


Recommended