Documente Academic
Documente Profesional
Documente Cultură
Relationships
Tell Me / Show Me
Review A Scene
View the following scene between
the waiter placing orders and the
chef.
Why did the waiter have trouble at
the end?
sdm_s03_l03_a01
Tell Me / Show Me
ERD Language
ERDish is the language we
use to state relationships
between entities in an
ERD.
EMPLOYEE
working in
DEPARTMENT
the cost
center for
Tell Me / Show Me
The components of
ERDish
1. EACH
2. Entity A
3. OPTIONALITY
(must be/may be)
4. RELATIONSHIP
NAME
5. CARDINALITY
(one and only
one/one or more)
6. Entity B
EMPLOYEE
1.
2.
3.
4.
5.
6.
working in
DEPARTMENT
EACH
EMPLOYEE (entity A)
MUST BE (optionality, solid line)
WORKING IN (relationship name)
ONE (cardinality, single toe)
DEPARTMENT (entity B)
Since each relationship has two sides, we read the first relationship
from left to right (or top to bottom, depending on the ERD layout).
Tell Me / Show Me
The components of
ERDish (continued)
1. EACH
2. Entity A
3. OPTIONALITY
(must be/may be)
4. RELATIONSHIP
NAME
5. CARDINALITY
(one and only
one/one or more)
6. Entity B
EMPLOYEE
DEPARTMENT
the cost
center for
1.
2.
3.
4.
5.
6.
EACH
DEPARTMENT (entity B)
MAY BE (optionality, dotted line)
THE COST CENTER FOR (relationship name)
ONE OR MORE (cardinality, crows foot)
EMPLOYEE (entity A)
Tell Me / Show Me
The components of
ERDish (continued)
1. EACH
2. Entity A
3. OPTIONALITY
(must be/may be)
4. RELATIONSHIP
NAME
5. CARDINALITY
(one and only
one/one or more)
6. Entity B
working in
EMPLOYEE
DEPARTMENT
the cost
center for
1.
2.
3.
4.
5.
EACH
EMPLOYEE (entity A)
MUST BE (optionality, solid line)
WORKING IN (relationship name)
ONE AND ONLY ONE
(cardinality, single toe)
6. DEPARTMENT (entity B)
1.
2.
3.
4.
EACH
DEPARTMENT (entity B)
MAY BE (optionality, dotted line)
THE COST CENTER FOR
(relationship name)
5. ONE OR MORE (cardinality, crows
foot)
6. EMPLOYEE (entity B)
Tell Me / Show Me
Terminology
Key terms used in this lesson include:
ERDish
Summary
Objectives Summarized
In this lesson, you have learned how to:
State relationships between entities in precise words
(ERDish)
Draw and label relationships correctly on an ERD
10
Summary
Practice Guide
The link for the lesson practice guide can be found in the
course resources in Section 0.
Before the practice activities review the animation below.
sdm_s04_l02_a02
11