Вы находитесь на странице: 1из 22

Copyright 2004 Pearson Education, Inc.

Copyright 2004 Pearson Education, Inc.


Chapter 3
Data Modeling Using the
Entity-Relationship
Model
Slide 3-3
Elmasri and Navathe, Fundamentals of Database ystems, Fourth Edition
Copyright 2004 Pearson Education, Inc.
F!"URE 3#$
A simplified diagram to
illustrate the main phases of
database design.
Slide 3-4
Elmasri and Navathe, Fundamentals of Database ystems, Fourth Edition
Copyright 2004 Pearson Education, Inc.
F!"URE 3#%
An ER schema diagram for the COMPANY database.
Slide 3-5
Elmasri and Navathe, Fundamentals of Database ystems, Fourth Edition
Copyright 2004 Pearson Education, Inc.
F!"URE 3#3
Two entities emplo!ee e
"
and compan! c
"
and their
attributes.
Slide 3-
Elmasri and Navathe, Fundamentals of Database ystems, Fourth Edition
Copyright 2004 Pearson Education, Inc.
F!"URE 3#&
A hierarch! of composite attributes.
Slide 3-!
Elmasri and Navathe, Fundamentals of Database ystems, Fourth Edition
Copyright 2004 Pearson Education, Inc.
F!"URE 3#'
A comple# attribute$ AddressPhone.
Slide 3-"
Elmasri and Navathe, Fundamentals of Database ystems, Fourth Edition
Copyright 2004 Pearson Education, Inc.
F!"URE 3#(
Two entit! t!pes EMP%OYEE and COMPANY and some
member entities of each.
Slide 3-#
Elmasri and Navathe, Fundamentals of Database ystems, Fourth Edition
Copyright 2004 Pearson Education, Inc.
F!"URE 3#)
The CAR entit! t!pe with two &e! attributes Registration and
'ehicle().
Slide 3-$0
Elmasri and Navathe, Fundamentals of Database ystems, Fourth Edition
Copyright 2004 Pearson Education, Inc.
F!"URE 3#*
Preliminar! design of entit! t!pes for the COMPANY
database.
Slide 3-$$
Elmasri and Navathe, Fundamentals of Database ystems, Fourth Edition
Copyright 2004 Pearson Education, Inc.
F!"URE 3#+
*ome instances in the +OR,*-.OR relationship set which
represents a relationship t!pe +OR,*-.OR between
EMP%OYEE and )EPARTMENT.
Slide 3-$2
Elmasri and Navathe, Fundamentals of Database ystems, Fourth Edition
Copyright 2004 Pearson Education, Inc.
F!"URE 3#$,
*ome relationship instances in the */PP%Y ternar!
relationship set.
Slide 3-$3
Elmasri and Navathe, Fundamentals of Database ystems, Fourth Edition
Copyright 2004 Pearson Education, Inc.
F!"URE 3#$$
A recursi0e relationship */PER'(*(ON between
EMP%OYEE in the supervisor role 1"2 and EMP%OYEE in the
subordinate role 132.
Slide 3-$4
Elmasri and Navathe, Fundamentals of Database ystems, Fourth Edition
Copyright 2004 Pearson Education, Inc.
F!"URE 3#$%
A "$" relationship MANA4E*.
Slide 3-$5
Elmasri and Navathe, Fundamentals of Database ystems, Fourth Edition
Copyright 2004 Pearson Education, Inc.
F!"URE 3#$3
An M$N relationship +OR,*-ON.
Slide 3-$
Elmasri and Navathe, Fundamentals of Database ystems, Fourth Edition
Copyright 2004 Pearson Education, Inc.
F!"URE 3#$&
*ummar! of the
notation for ER
diagrams.
Slide 3-$!
Elmasri and Navathe, Fundamentals of Database ystems, Fourth Edition
Copyright 2004 Pearson Education, Inc.
F!"URE 3#$'
ER diagrams
for the
COMPANY
schema with
structural
constraints
specific using
1min ma#2
notation.
Slide 3-$"
Elmasri and Navathe, Fundamentals of Database ystems, Fourth Edition
Copyright 2004 Pearson Education, Inc.
F!"URE 3#$(
The COMPANY conceptual scheme in /M% class diagram
notation.
Slide 3-$#
Elmasri and Navathe, Fundamentals of Database ystems, Fourth Edition
Copyright 2004 Pearson Education, Inc.
F!"URE 3#$)
An ER
diagram for
an A(R%(NE
database
schema.
Slide 3-20
Elmasri and Navathe, Fundamentals of Database ystems, Fourth Edition
Copyright 2004 Pearson Education, Inc.
F!"URE 3#$*
An ER diagram for a 5AN, database schema.
Slide 3-2$
Elmasri and Navathe, Fundamentals of Database ystems, Fourth Edition
Copyright 2004 Pearson Education, Inc.
F!"URE 3#$+
Part of an ER diagram for a COMPANY database.
Slide 3-22
Elmasri and Navathe, Fundamentals of Database ystems, Fourth Edition
Copyright 2004 Pearson Education, Inc.
F!"URE 3#%,
Part of an ER diagram for a CO/R*E* database.

Вам также может понравиться