Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

I want you to answer question 2 thank you Homework 5. Normalization Due on Quest

ID: 3729869 • Letter: I

Question

I want you to answer question 2 thank you Homework 5. Normalization Due on Question 1. A tabl A+B is the primary key The following dependencies are identified: le contains columns A, B, C, D, E, F, G AD, E EG 1) Normalize this table to 2NF: underline the primary key of each table. 2) Then normalize to 3NF; underline the primary key of each table 3) Then normalize to BCNF underline the primary key of each table uestion2 Neighborhood Hardware is a hardware store. It orders inventory from various distributors. Neighborhood Hardware gives each distributor a DistID. Distributors may carry the same product. Each product has a universal UPC Number and product name. However each distributor has their own in-house distributor product ID (dist prod_id) for products they carry. For instance, Stanley Hammer-Pro has a universal UPC code 9785600021. Acer Inc. would refer to it by its product ID 576-183 HardwareKing would identify it as 4178 BBR Each purchase order has a purchase order date, and it is issued to one distributor. Neighborhood Hardware can purchase multiple products on a purchase order, each product has a purchase quantity 1) Identify a candidate key 2) Identify all FDs in the format of A B, C DistIDDistName U PC-Number ProdName Oty PurOrd PurOrd Num 25278 03/12 DistProdID Date 576-101 576-112 576-109 576-183 101 Acer Inc. 9785600001 Screwdriver 9785600016 Handsaw 9785600007Bolt cutter 9785600021 DOIT Distribution 0-34 9785600023 Chain saw, 16 in 9785600007 Bolt cutter 9785600015 2.75 in. bolt, 12 9785600016 9785600001 Screwdriver 9785600023 Chain saw, 16 in. 9785600021 9785600007 Boit cutter 9785600007 9785600023 Chain saw, 16 in 9785600015 2.75 in 978560002 Stanley Hammer-Pro 3 9785600023 Chainsaw, 16 in. 25279 03/12/12 102 12 0-345115 4-896101 152 BGR 177 BXR 4178 BB Hammer 2528 102 Distribution 0-345115 5115 25283 03/14/1 Bolt cutter 0-345111 4-896101 4178 BBR 4177 BXR 25284 03/14/12 103 Hardwareking

Explanation / Answer

1)Candidate key is nothing but the primary key

the conditions for primary key is that it has to be unique i.e. no two rows will have same value. The primary key here is Purchase order number i.e. PurOrd Num as the values are given to each product purchaced and are unique. All the other columns have atleast one value which is same for two rows.even if same product is purchased the ord number varies.

2)there are 6 possible FD for A--> B,C format

DistID--> DistName, DistProd ID

DistID--> DistName, PurOrd Num

DistID--> PurOrd Num, DistProd ID

DistProd ID-->UPC No., Prod Name

DistProd ID-->UPC No.,PurOrd Num

DistProd ID-->Prod Name,PurOrd Num

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote