Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David M. Kroenke

1st Edition

0130086509, 978-0130086501

More Books

Students also viewed these Databases questions