Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Chapter Outline
ER Diagrams - Notation
ER Diagram for COMPANY Schema
Alternative Notations UML class diagrams, others
Database design
Applications design
Slide 3- 3
Slide 3- 4
Slide 3- 2
Slide 3- 5
Slide 3- 6
ER Model Concepts
Multi-valued
Slide 3- 8
Slide 3- 9
Slide 3- 10
Slide 3- 7
Each attribute has a value set (or data type) associated with
it e.g. integer, string, subrange, enumerated type,
Each entity has a single atomic value for the attribute. For
example, SSN or Sex.
Composite
Simple
Slide 3- 11
Slide 3- 12
Slide 3- 13
Slide 3- 16
Slide 3- 17
DEPARTMENT
PROJECT
EMPLOYEE
DEPENDENT
Slide 3- 15
Slide 3- 14
Entity Set
Slide 3- 18
Relationship instances
Slide 3- 19
Relationship Type:
Relationship Set:
Slide 3- 21
Slide 3- 23
Slide 3- 24
Slide 3- 25
Slide 3- 27
Slide 3- 26
Slide 3- 29
Slide 3- 30
Constraints on Relationships
Supervision Relationship
One-to-one (1:1)
One-to-many (1:N) or Many-to-one (N:1)
Many-to-many (M:N)
Slide 3- 31
Manages Relationship
Slide 3- 33
Slide 3- 35
Slide 3- 34
Slide 3- 32
Slide 3- 36
Slide 3- 37
Slide 3- 39
Slide 3- 38
Slide 3- 40
Slide 3- 41
Slide 3- 42
Slide 3- 43
Slide 3- 45
Slide 3- 46
Slide 3- 44
Slide 3- 47
An M or N indicates no constraint
A 1 indicates that an entity can participate in at most one
relationship instance that has a particular combination of the
other participating entities
Slide 3- 48
POSITIVES:
NEGATIVES:
Most tools lack a proper distinct notation for relationships
with relationship attributes
Mostly represent a relational design in a diagrammatic form
rather than a conceptual ER-based design
(See Chapter 12 for details)
COMPANY
DB Artisan
Oracle
Popkin
Software
Platinum
(Computer
Associates)
Persistence
Inc.
Pwertier
Rational Rose
Resolution Ltd.
Xcase
Sybase
Visio
Visio Enterprise
Slide 3- 50
Chapter Summary
Rational (IBM)
FUNCTIONALITY
ER Studio
Slide 3- 49
TOOL
Embarcadero
Technologies
Slide 3- 51
Slide 3- 52