• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 11 pages
Exam (elaborations)

Wgu C170 Project With Complete Solution Latest Update Already Passed.

Document preview thumbnail
Preview 2 out of 11 pages

1NF 2NF Highlighted fields will form a Composite primary key. City State and Zip were separated And are now atomic No duplicate data, each of the above tables has a Primary Key, and a key (foreign) that can refer to another table in the group. 3NF No transitive dependency. New table has 2 of the PKs from the other tables as Foreign Keys. Each table has a primary key which can refer to another one of the tables in this group. 1:M One Customer can place many Orders ER DIAGRAM Customer table has single pk ORDER TABLE DATE DATETIME CUSTOMERID INT (fk) DONUT_ORDER_ID INT (pk) QUANTITY TABLE NOTES VARCHAR (255) QUANTITY INT DONUT_ORDER_ID INT (pk) (fk) DONUT_ID INT (pk)(fk) DONUT TABLE DONUT_ID INT (pk) DONUT_NAME VARCHAR (100) DONUT_DESCRIPTION VARCHAR (255) UNIT_PRICE DECIMAL (10,2) DONUT ORDER ID DONUT ID DATE CUSTOMER ID LAST NAME FIRST NAME STREET ADDRESS CITY STATE ZIP CODE HOME PHONE MOBILE PHONE OTHER PHONE DESCRIPTION QTY UNIT PRICE NOTES DONUT NAME DONUT ORDER ID(PK) DATE CUSTOMER ID LAST NAME FIRST NAME STREET ADDRESS APT CITY STATE ZIP CODE HOME PHONE MOBILE PHONE OTHER PHONE NOTES DONUT ID (PK) DONUT NAME DONUT DESCRIPTION UNIT PRICE DONUT ORDER ID (PK) (FK) QUANTITY DONUT ID (PK)(FK) CUSTOMER ID (PK) LAST NAME FIRST NAME STREET ADDRESS APT CITY STATE ZIP CODE HOME PHONE MOBILE PHONE OTHER PHONE DATE CUSTOMER ID (FK) NOTES DONUT ORDER ID (PK) DONUT ID (PK) DONUT NAME DONUT DESCRIPTION UNIT PRICE DONUT ORDER ID (PK)(FK) QUANTITY DONUT ID (PK)(FK) One order can have many different quantities 1:M One donut order can hold many different quantities of donut types of donut types 1:M create table customers( customer_id INT, 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) MOBILE_PHONE VARCHAR (20) OTHER_PHONE VARCHAR (20) 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), mobile_phone varchar (20), other_phone varchar (20), primary key (customer_id) ) ; create table orders( donut_order_id int,


Document information

Uploaded on
June 1, 2022
Number of pages
11
Written in
2020/2021
Type
Exam (elaborations)
Contains
Questions & answers
$8.99

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

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.
ExcellentScores
3.8
(76)
Sold
306
Followers
227
Items
4200
Last sold
1 month ago


Reviews from verified buyers




Why students choose Stuvia

Created by fellow students, verified by reviews

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

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight 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 smashed 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

Whoops! We can’t load your doc right now. Try again or contact support.