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, 21.06.2019 21:00
It is not a good idea in a cover letter to mention another person whom the employer knows.
Answers: 1
question
Computers and Technology, 22.06.2019 09:00
Designing a mobile web page is a little different from designing a regular web page. name at least three features that should be considered when designing a website that is mobile phone-friendly, and briefly explain why they are important.
Answers: 1
question
Computers and Technology, 22.06.2019 16:00
You have inserted new slides based on a word outline. how do you format these new slides to match the powerpoint presentation formatting? a. select all slides in the presentation and click format on the home tab. b. select the new slides and click reset on the home tab. c. select all slides in the presentation and click reset on the home tab. d. select the new slides and click format on the home tab.
Answers: 3
question
Computers and Technology, 23.06.2019 00:30
If joey was single and his taxable income was $9,500, how much would he pay in taxes each year?
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, 16.09.2019 07:10
question
Mathematics, 16.09.2019 07:10
Questions on the website: 13722363