AIU Online Management of Design and Database Project

Description

What is a Schema?

  • Simply put, the schema is nothing more than all the entities of your ERD converted to the relations of the database. Each relation contains all the attributes (columns). All the primary and foreign keys are indicated, normally by underlines or dashed underlines. Relation between tables is normally indicated in some fashion. In Oracle, the schema contains all the “Database Objects” that a user has access to. So, the Oracle Schema is user specific.

Assignment

Using the INVOICE table structure shown below, do the following:

  1. Write the relational schema, draw its dependency diagram, and identify all dependencies, including all partial and transitive dependencies. You can assume that the table does not contain repeating groups and that any invoice number may reference more than one product. (Hint: This table uses a composite primary key.)
  2. Remove all partial dependencies, draw the new dependency diagrams, and identify the normal forms for each table structure you created.
  3. Remove all transitive dependencies and draw the new dependency diagrams. Also, identify the normal forms for each table structure you created.

Attribute Name

Sample Value

Sample Value

Sample Value

Sample Value

Sample Value

INV_NUM

211347

211347

211347

211348

211349

PROD_NUM

AA-E3422QW

QD-300932X

RU-995748G

AA-E3422QW

GH-778345P

SALE_DATE

15-Jan-2010

15-Jan-2010

15-Jan-2010

15-Jan-2010

16-Jan-2010

PROD_LABEL

Rotary sander

0.25-in. drill bit

Band saw

Rotary sander

Power drill

VEND_CODE

211

211

309

211

157

VEND_NAME

NeverFail, Inc.

NeverFail, Inc.

BeGood, Inc.

NeverFail, Inc.

ToughGo, Inc.

QUANT_SOLD

1

8

1

2

1

PROD_PRICE

$49.95

$3.45

$39.99

$49.95

$87.75

What is Normalization?

Get your college paper done by experts

Do my question How much will it cost?

Place an order in 3 easy steps. Takes less than 5 mins.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *