WGU c170 PROJECT WITH COMPLETE SOLUTION
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
Written for
- Institution
-
Western Governors University
- Course
-
IT C170 (ITC170)
Document information
- Uploaded on
- January 11, 2023
- Number of pages
- 11
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
- it c170
-
wgu c170 project with complete solution
Also available in package deal