subject

R = (J, K,L, M,N, P)
and functional dependencies:
F={J→KLM, KL→MN, K→M, M→J}

5. a) Compute K+ (the closure of the attribute set {K}).

(b) Using the Armstrong’s axioms and the union, decomposition, and pseudotransitivity rulee, prove that JP is a superkey (Hint: the proof goes step-by-step, and each step you will apply one of the 6 rules. The closure of JP will do the job but that’s NOT the answer we are asking for).

(c) Find a canonical cover of F; give each step of your derivation with an explanation. Once you reach your canonical cover, explain why you can’t further simplify the set of FDs.

(d) Give a 3NF decomposition of R based on the canonical cover you find.

6. (a) Give a BCNF decomposition of R. At each decomposition step, you should specifically point out the violating FD in F+ that leads to the decompostion step. If a violating FD is not in F, you need to prove it using the attribute set closure algorithm or the 6 rules in Question 5.

(b) Your BCNF decomposition may not be dependency preserving. If it is dependency preserving, explain why. If it is not, identify a FD that is not preserved and write a single SQL query to check if that FD is satisfied whenever the database is updated (Hint: a FD is not preserved does not mean that the data instance in the relations will violate that FD, but it is just harder to check if that FD is satisfied.).

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:30
To insert a column without using commands in any tabs, a user can -click and then click insert column.
Answers: 3
question
Computers and Technology, 22.06.2019 15:20
The north and south regions had very diferent economies in the 1800s.
Answers: 1
question
Computers and Technology, 22.06.2019 22:00
During physical science class ben and jerry connected three identical lightbulbs in parallel to a battery where happens when ben removes one of the lightbulbs from it’s socket
Answers: 2
question
Computers and Technology, 24.06.2019 02:40
Has anyone seen my grandma shes been gone for 4 years already
Answers: 1
You know the right answer?
R = (J, K,L, M,N, P)
and functional dependencies:
F={J→KLM, KL→MN, K→M, M→J}

...
Questions
question
Mathematics, 12.02.2021 21:30
question
Mathematics, 12.02.2021 21:30
question
Mathematics, 12.02.2021 21:30
question
History, 12.02.2021 21:30
question
Mathematics, 12.02.2021 21:30
Questions on the website: 13722362