Sei sulla pagina 1di 3

academy.oracle.

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

To associate the elements of an ERD with 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

o Customer Home Address


2. Match the ERD elements to their corresponding database elements.

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

3. Identify the table diagram notations listed below.

• “pk” Primary Key


• “fk” Foreign Key
• “uk” Unique Key
• “*” Mandatory
• “o” Optional

4. Create short names for the terms below based on the naming conventions rules.

• Academic major AMR


• Undergraduate UDE
• Class CLS

5. Identify what is wrong with each of the table names below.

• 1997classes : the first word starts with numbers


• Schedule_of_classes_spring_2003 : over alphanumeric limits
• Financial Aid deadlines! : use spaces

Potrebbero piacerti anche