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)

C170_PROJECT.

Rating
-
Sold
-
Pages
10
Grade
A+
Uploaded on
17-04-2022
Written in
2021/2022

Exam of 10 pages for the course C170_PROJECT. at C170_PROJECT. (C170_PROJECT.)

Institution
Course

Content preview

1NF 2NF

DONUT ORDER ID
DONUT ID DONUT ORDER DONUT ID (PK)
Highlighted fields will form a Composite primary ID(PK)
DATE DONUT NAME
key. City State ID
CUSTOMER and Zip were separated DATE
DONUT DESCRIPTION
LAST NAME CUSTOMER ID
And are now atomic UNIT PRICE
FIRST NAME LAST NAME
STREET ADDRESS FIRST NAME
CITY STREET ADDRESS DONUT ORDER ID (PK)
STATE APT (FK)
ZIP CODE CITY QUANTITY
HOME PHONE STATE DONUT ID (PK)(FK)
MOBILE PHONE ZIP CODE
OTHER PHONE HOME PHONE
DESCRIPTION MOBILE PHONE
QTY OTHER PHONE
UNIT PRICE NOTES
NOTES No duplicate data, each of the above tables has a Primary Key, and a key
DONUT NAME (foreign) that can refer to another table in the group.




3NF


CUSTOMER ID (PK)
DATE
LAST NAME
CUSTOMER ID (FK)
FIRST NAME
NOTES DONUT ORDER ID
STREET ADDRESS
DONUT ORDER ID (PK)(FK)
APT
(PK) QUANTITY
CITY No transitive
of Keys. DONUTdependency.
ID (PK)(FK) New table has 2 the PKs from the other
STATE DONUT ID (PK) tables as Foreign
ZIP CODE DONUT NAME
HOME PHONE Each table has a primary key which can refer to another one of the
DONUT
MOBILE PHONE DESCRIPTION tables in this group.
OTHER PHONE UNIT PRICE




ORDER TABLE
DATE DATETIME
1:M DONUT TABLE DONUT_ID INT (pk)
DONUT_NAME VARCHAR (100)
CUSTOMERID
One Customer can place many OrdDONUT_DESCRIPTION INT (fk)
VARCHAR (255)
ER DIAGRAM Customer table has single pk UNIT_PRICE DECIMAL
DONUT_ORDER_ID
(10,2) INT (pk)
ers
QUNOATENSTIVTYARTCAHBLA
ER (255)
QUANTITY INT
DONUT_ORDER_ID INT (pk) (fk)
DONUT_ID INT (pk)(fk)

, One order can have
many different quantities


1:M
CUSTOMER TABLE
CUSTOMER_ID INT (pk)
LAST_NAME VARCHAR
(30)
FIRST_NAME VARCHAR (30)
STREET_ADDRESS VARCHAR (100)
APT INT,
CITY VARCHAR (30)
STATE VARCHAR (30)
ZIP_CODE INT
HOME_PHONE VARCHAR (20) One donut order can hold
MOBILE_PHONE VARCHAR (20) many different quantities
of donut types of donut types
OTHER_PHONE VARCHAR (20)
1:M




create table

customers( customer_i

d INT,

Written for

Course

Document information

Uploaded on
April 17, 2022
Number of pages
10
Written in
2021/2022
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$13.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.
EvaTee Phoenix University
Follow You need to be logged in order to follow users or courses
Sold
5202
Member since
4 year
Number of followers
3567
Documents
55578
Last sold
1 hour ago
TIGHT DEADLINE? I CAN HELP

Many students don\'t have the time to work on their academic papers due to balancing with other responsibilities, for example, part-time work. I can relate. kindly don\'t hesitate to contact me, my study guides, notes and exams or test banks, are 100% graded

3.8

947 reviews

5
451
4
167
3
171
2
48
1
110

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