Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PVF CUSTOMER ORDER ORDER N 0 : 6 1 3 8 4 CUSTOMER NO: 1 2 7 3 NAME: ADDRESS: CITY - STATE - ZIP:

PVF CUSTOMER ORDER
ORDER N0: 61384
CUSTOMER NO: 1273
NAME:
ADDRESS:
CITY-STATE-ZIP:
Contemporary Designs
1230ak St.
Austin, TX 28384
PROMISED DATE: 1121?2015
ORDER DATE: 1104?2015
\table[[\table[[PRODUCT],[N0]],DESCRIPTION,\table[[QUANTITY],[ORDERED]],\table[[UNIT],[PRICE]]],[M128,Bookcase,4,200.00],[B381,Cabinet,2,150.00],[R210,Table,1,500.00]]
Based on the above sample customer order, you are required to complete the following tasks with Oracle database and tools:
Develop an E-R diagram (both logical and relational models) with the appropriate cardinality notations; select appropriate data types. The database should be normalized to the third normal form or higher. (10 points)
Generate DDL from the data model and create tables in the Oracle database. (10 points)
Write a script to insert test data (at least 1 customer, 1 order and 3 products) into the tables. The data must be inserted in the correct order to avoid referential integrity violations. (10 points)
Create a VIEW to show Customer Name, Address (including street address, city, state, and zip in one field), Order Date, Number of Products Ordered, and Total Price. Write a select statement to test the view. (10 points)
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning Microsoft SQL Server 2012 Programming

Authors: Paul Atkinson, Robert Vieira

1st Edition

1118102282, 9781118102282

More Books

Students also viewed these Databases questions