Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
com
Database Design
9-2: Basic Mapping: The Transformation Process Practice
Activities
Objectives
• Distinguish entity relationship models from database models
• Describe the terminology mapping between a conceptual model and a physical model
• Understand and apply the Oracle naming conventions for tables and columns used in
physical models
• Transform an entity into a table diagram
Vocabulary
Identify the vocabulary word for each definition below.
To change the elements of an ERD into database elements
Try It / Solve It
1. Transform the following entities into table definitions using suitable naming conventions.
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their
respective owners.
2
STUDENTS
Key Type Optionality (“*” or “o”) Column Name
( pk, uk, fk)
PK * ID
* First Name
* last name
* Home Address
o Phone Number
TEACHERS
Key Type Optionality (“*” or “o”) Column Name
( pk, uk, fk)
PK * ID
* First Name
* Last Name
* Social Security Number
* Phone Number
o E-mail Address
Bank Account
Key Type Optionality (“*” or “o”) Column Name
( pk, uk, fk)
PK * BANK ID
PK * Account ID
* Customer Name
* Customer Balance
Analysis Design
Attribute Column
Entity Foreign key
ER Model Physical design
Instance Primary Primary key
UID Row
Relationship Table
Secondary UID Unique key
Answer
Analysis Design
Attribute Column
Entity Table
ER Model Physical design
Instance Row
Primary UID UID
Relationship Foreign Key
Secondary UID Unique key
4. Create short names for the terms below based on the naming conventions rules.