Question: One strategy for relational schema design is to start by putting all attributes into one relation, and then decompose the relation according to various depedencies.

One strategy for relational schema design is to start by putting all attributes into one relation, and then decompose the relation according to various depedencies. Here is an example.
The United States has a presidential election every four years. Each presidential candidate has a designated vice presidential candidate. Each state has a designated number of electoral votes. In all states except Nebraska and Maine, the candidate that receives the most popular votes of citizens in the state secures all electoral votes of the state. The candidate with a majority of the electoral votes becomes the next president of the United States.
Putting the above information together and we have a table:
Election (Candidate, Vice_president, Year, State, Electoral_votes, Popular_votes),
or in abbreviation,
Election (C, V, Y, S, E, P)
with the following functional dependencies among the attributes:
CY -> V
VY -> C
SY -> E
CSY -> P
You are asked to do the following:
List all keys in the table.
Indicate which normal form the table is in.
If the table is not in BCNF, decompose it to tables that are in BCNF.
Determine whether the decomposition is dependency preserving or not.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!