Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

WGU C170 Data Management - Applications Performance Assessment.

Rating
-
Sold
-
Pages
29
Grade
A+
Uploaded on
26-04-2023
Written in
2022/2023

WGU C170 Data Management - Applications Performance Assessment. EXPLANATION: I am going to call this table the "Order Table" I also need to make sure that this table contains a primary Key, in this particular table I am going to make the “OrderID” and “DonutID” the Primary Key (composite key), the reason I chose to use OrderID and DonutID as the primary key is because Order ID or DonutID by themselves do not guarantee Uniqueness but when combined uniqueness is achieved. I am going to separate city, state and zip in order to make the data atomic with no repeating groups. I am also going to get rid of Customer since there is already a Customer ID field and customer will most likely be a table of its own. I left the Donut name and description empty because my table was starting to be too big to fit it in this document. Orde r ID Custome r ID (PK) OrderDat e First Nam e Last Nam e Street addres s Apt # City State Zip Home phone Mobile phone Other phone Donu t ID Qt y Donu t Nam e Descriptio n Unit price Note s 1 2 9/1/17 John Perez 12th ST #4 Austi Texa 1234 1 1 $1.5 None n s 5 1 9 9 0 1 2 9/1/17 John Perez 12th ST #4 Austi Texa 1234 2 5 $1.7 None n s 5 9 9 5 1 2 9/1/17 John Perez 12th ST #4 Austi Texa 1234 3 12 $1.7 None n s 5 9 9 5 1 2 9/1/17 John Perez 12th ST #4 Austi Texa 1234 4 3 $1.7 None n s 5 9 9 5 1 2 9/1/17 John Perez 12th ST #4 Austi Texa 1234 5 4 $1.7 None n s 5 9 9 5 1 2 9/1/17 John Perez 12th ST #4 Austi Texa 1234 6 5 $2.0 None n s 5 9 9 Sales Order 2NF EXPLANATION In Second Form I need to have fulfilled 1NF and ensure that No functional dependencies exist, in order to accomplish that I need to Separate Donut ID and Order ID and create their own tables and since Quantity can cause a many to many relationship To resolve that issue I will create the OrderLineItem table in which OrderID and DonutID will be the PK, however since OrderID and Donut ID are the primary keys for their own respective tables they are also Foreign keys in the OrderLineItem table and therefore reference their own table as FK in orderlineitem table . In the Order Table I have chosen to use Order ID as the Primary Key since the Order table most likely will contain order related information like customer ID Order ID the Date and the notes. Orders Table Order ID (PK) Custo mer ID OrderDate First Name Last Name Street address Apt# City State Zip Home phone Mobile phone Other phone Notes 1 2 9/1/17 John Perez 12th ST #4 Austin Texas 12345 1 None Donut Table Donut ID (PK) Name Description Unit Price 1 Plain Plain Donut $1.50 2 Glazed Glazed Donut $1.75 3 Cinnamon Cinnamon Donut $1.75 4 Chocolate Chocolate $1.75 5 Sprinkle Sprinkle Donut $1.75 6 Gluten-Free Gluten-Free Donut $2.0 Order Line Item Table Order ID (PK) (FK) Donut ID (PK) (FK) Quantity 1 1 1 1 2 5 1 3 12 1 4 3 1 5 4 1 6 5 Sales Order 3NF EXPLANATION: There was no need to have all the customer information as it is redundant so I removed it. I also created two more tables one to house the information that does not need to be in Order table like Donut ID, Quantity, Donut name, Description or unit prize that information needs to go in to separate tables. The quantity of each line item is defined with the combination of the Order ID and the Donut ID, so that information was separated into the Order Line Item table. The Name, Description, a

Show more Read less
Institution
Course

Content preview

Data Management – Applications – C170 Performance Assessment.
Cesar R Gutierrez
Student ID: 000703502



WGU C170 Data Management -
Applications Performance
Assessment.

Sales order
1NF
EXPLANATION:
I am going to call this table the "Order Table" I also need to make sure that this table contains a primary Key, in this particular table I
am going to make the “OrderID” and “DonutID” the Primary Key (composite key), the reason I chose to use OrderID and DonutID as
the primary key is because Order ID or DonutID by themselves do not guarantee Uniqueness but when combined uniqueness is
achieved. I am going to separate city, state and zip in order to make the data atomic with no repeating groups. I am also going to get
rid of Customer since there is already a Customer ID field and customer will most likely be a table of its own. I left the Donut name
and description empty because my table was starting to be too big to fit it in this document.
Orde Custome OrderDat First Last Street Apt City State Zip Home Mobile Other Donu Qt Donu Descriptio Unit Note
r ID r ID (PK) e Nam Nam addres # phone phone phone t ID y t n price s
e e s Nam
e
1 2 9/1/17 John Perez 12th ST #4 Austi Texa 1234 123456789 12345678 12345678 1 1 $1.5 None
n s 5 1 9 9 0
th
1 2 9/1/17 John Perez 12 ST #4 Austi Texa 1234 123456789 12345678 12345678 2 5 $1.7 None
n s 5 9 9 5
1 2 9/1/17 John Perez 12th ST #4 Austi Texa 1234 123456789 12345678 12345678 3 12 $1.7 None
n s 5 9 9 5
1 2 9/1/17 John Perez 12th ST #4 Austi Texa 1234 123456789 12345678 12345678 4 3 $1.7 None
n s 5 9 9 5
1 2 9/1/17 John Perez 12th ST #4 Austi Texa 1234 123456789 12345678 12345678 5 4 $1.7 None
n s 5 9 9 5
1 2 9/1/17 John Perez 12th ST #4 Austi Texa 1234 123456789 12345678 12345678 6 5 $2.0 None
n s 5 9 9

1|Page

,Data Management – Applications – C170 Performance Assessment.
Cesar R Gutierrez
Student ID: 000703502




Sales Order 2NF
EXPLANATION
In Second Form I need to have fulfilled 1NF and ensure that No functional dependencies exist, in order to accomplish that I need to
Separate Donut ID and Order ID and create their own tables and since Quantity can cause a many to many relationship To resolve
that issue I will create the OrderLineItem table in which OrderID and DonutID will be the PK, however since OrderID and Donut ID
are the primary keys for their own respective tables they are also Foreign keys in the OrderLineItem table and therefore reference
their own table as FK in orderlineitem table . In the Order Table I have chosen to use Order ID as the Primary Key since the Order
table most likely will contain order related information like customer ID Order ID the Date and the notes.
Orders Table
Order ID Custo OrderDate First Last Street Apt# City State Zip Home Mobile Other Notes
(PK) mer Name Name address phone phone phone
ID
1 2 9/1/17 John Perez 12th ST #4 Austin Texas 12345 1234567891 123456789 123456789 None



Donut Table
Donut ID (PK) Name Description Unit Price
1 Plain Plain Donut $1.50
2 Glazed Glazed Donut $1.75
3 Cinnamon Cinnamon Donut $1.75
4 Chocolate Chocolate $1.75
5 Sprinkle Sprinkle Donut $1.75
6 Gluten-Free Gluten-Free Donut $2.0



Order Line Item Table
Order ID (PK) (FK) Donut ID (PK) (FK) Quantity
1 1 1
1 2 5
1 3 12
1 4 3
1 5 4
1 6 5



2|Page

, Data Management – Applications – C170 Performance Assessment.
Cesar R Gutierrez
Student ID: 000703502




Sales Order 3NF
EXPLANATION:

There was no need to have all the customer information as it is redundant so I removed it. I also created two more tables one to house the
information that does not need to be in Order table like Donut ID, Quantity, Donut name, Description or unit prize that information needs to go
in to separate tables. The quantity of each line item is defined with the combination of the Order ID and the Donut ID, so that information was
separated into the Order Line Item table. The Name, Description, and Unit Price of each donut can be defined by a Donut ID, so that was
separated into a table to reduce redundancy. A customer will most likely have more than one order if we were to leave the customer ID in the
Order table the customer information will be repeated for each of their orders. To avoid this the customer table was created that way the
customer information is only added once. In Order Table the PK is OrderID and the FK is CustomerID. In Order Line Item table the OrderID and
DonutID are the PK and also FKs. In Donut table the DonutID is the PK and in the customer table the CustomerID is the PK.

Order Table
Order Custo OrderDate Notes
ID (PK) merID
(FK)
1011 0001 9/10/17 None



Order Line Item Table
Order ID (PK) (FK) Donut ID (PK) (FK) Quantity
1 1 1
1 2 5
1 3 12
1 4 3
1 5 4
1 6 5



3|Page

Written for

Course

Document information

Uploaded on
April 26, 2023
Number of pages
29
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$11.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
LectDan Teachme2-tutor
Follow You need to be logged in order to follow users or courses
Sold
220
Member since
3 year
Number of followers
157
Documents
7985
Last sold
1 month ago

4.0

47 reviews

5
25
4
12
3
2
2
3
1
5

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions