RELATIONAL DATABASE DESIGN VIA ER MODELLING
CHAPTER 9 (6/E) CHAPTER 7 (5/E)
RELATIONAL DATABASE DESIGN VIA ER MODELLING CHAPTER 9 (6/E) - - PowerPoint PPT Presentation
RELATIONAL DATABASE DESIGN VIA ER MODELLING CHAPTER 9 (6/E) CHAPTER 7 (5/E) CHAPTER 9 OUTLINE Relational Database Design Using ER-to-Relational Mapping Algorithm to convert the basic ER model constructs into relations Mapping
CHAPTER 9 (6/E) CHAPTER 7 (5/E)
2
3
4
includes all the single-valued attributes of E
unique
5
all single-valued attributes of the entity type as attributes of R
attribute from R
6
correspond to entity types participating in R
attribute of the other, which will also represent R
represent R
being copies of both primary keys
unique
7
at N-side of 1:N relationship type
being copies of both primary keys
8
relationship type, create a new relation S
attributes in S
10
values
relationship type to be foreign key for R
11
12
subclasses
13
schema to represent union type (generalization)
attribute
Registered Vehicle
14
model
15
Translate the following ER Diagram into a relational database schema.
16
What ER Diagram might produce the following relational database schema?
17