Normalization of Database Tables to Third Normal Form (3NF)

This document explains the process of normalizing database tables to achieve Third Normal Form, enhancing data integrity.

Olivia Smith
Contributor
4.2
45
5 months ago
Preview (2 of 4 Pages)
100%
Purchase to unlock

Page 1

Normalization of Database Tables to Third Normal Form (3NF) - Page 1 preview image

Loading page image...

Normalization of Database Tables to Third Normal Form (3NF)Order IDOrderDateCustomerIDCustomer NameProductIDProduct Desc.ProductPriceQuantityOrdered100610/24/102Value Furniture754Dining TableWriters DeskEntertain Center800.00325.00650.00221100710/25/106Furniture Gallery1144 Drawer DresserEntertain Center500.00650.00431.Describe the steps you would take to bring the table(s) into third normal form compliance. Display the resulting thirdnormal formcompliant table or tables, identifying primary and foreign keys.Answer:R is in 3NF if and only if, for every FD XA in R, at least one of the following is true:1. X contains A (so the FD is trivial).2. X is a superkey.3. A is contained in a candidate key of R.Step 1:Breaktheproduct table and create a price table to map the price of each product accurately.Step 2:Create a product table and other Product Price table.Product table:Product ID: Primary keyProductPriceID:Foreign keyProductIDProduct Desc.7Dining Table5Writers Desk

Page 2

Normalization of Database Tables to Third Normal Form (3NF) - Page 2 preview image

Loading page image...

Preview Mode

This document has 4 pages. Sign in to access the full document!

Study Now!

XY-Copilot AI
Unlimited Access
Secure Payment
Instant Access
24/7 Support
Document Chat

Document Details

Related Documents

View all