Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the following database for an investment firm, consisting of the following attributes: B (broker), O (office of a broker), I (investor), S (stock), Q
Consider the following database for an investment firm, consisting of the following attributes: B (broker), O (office of a broker), I (investor), S (stock), Q (quantity of stock owned by an investor), and D (dividend paid by a stock), with the following functional dependencies F : F={SD,IB,ISQ,BO,IO} A. (4 points) State all candidate keys for R(B,O,S,Q,I,D). Justify your answer. B. (8 points) Give a lossless join decomposition of R into BCNF. State the schema, key and projected dependencies for each decomposed relation. Explain how you arrive at the decomposition, and justify whether or not your decomposition preserves dependencies. C. (8 points) Give a lossless join, dependency preserving decomposition of R into 3NF. State the schema, key and projected dependencies for each decomposed relation. Explain how you arrive at the decomposition
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started