2. Consider an 1NF- relation
StudentDB2 (sID, sFName, sLName, cID, cName, cCr, sectID, iID,
iTitle, iLName, grade)
that satisfies the following five functional dependencies:
FD1 {sID}->{sFName, sLName}
FD2 {cID}->{cName, cCr}
FD3 {cID, sectID}->{iID}
FD4 {iID}->{iTitle, iLName}
FD5 {sID, cID, sectID}->{grade}
a. What is/are candidate key(s) for relation StudentDB2?
b. Normalize the relation StudentDB2 into a collection of
2NF-relations.
c. Normalize the relation StudentDB2 into a collection of
3NF-relations.
d. Normalize the relation StudentDB2 into a collection of
BCNF-relations.
Reminder: Please provide your answers in relational database
schemas (as in Question 1). Underline the
primary key of each relation.
3. Consider the following rule/implication
"If {sID}{sLName}, then {sID, sFName}->{sLName}"
involving functional dependencies of the form X->Y, where X and
Y are sets of attributes, for the relation
Students3 (sID, sFName, sLName). Provide a formal proof using ONLY
the Armstrong's Axiom (i.e.,
reflexivity, augmentation, and transitivity) to prove the
rule/implication.
4. Consider the following rule/implication
"If {cID, sectID}->{iID}, then {cID}->{iID}"
involving functional dependencies of the form X->Y, where X and
Y are sets of attributes, for the relation
Teach4 (cID, sectID, iID). Give a database instance as a
counterexample to disprove the rule/implication.
solution:
We are authorized to answer one question at a time, since you have not mentioned which question you are looking for, so we are answering the first one, please repost your question separately for the remaining question.





d)

2. Consider an 1NF- relation StudentDB2 (sID, sFName, sLName, cID, cName, cCr, sectID, iID, iTitle, iLName,...
7. A relation schema is given as SalesRecord(sID, sName, cID, CID, PNo, pName, quantity). The functional dependencies are fd1. SID, CID - pNo, pName, quantity fd2. SID - SName fd3. CID cName fd4. pName Normalize this to 3NF. Answers should be text-form schema. pNo
1) Consider the relation R, with key and functional dependencies shown below. What Normal form is R in right now? Why is this the case? What actions would you take to normalize R to the next higher normal form? (Describe the steps) Follow the steps you described in the prior question to normalize R to the next higher form. Be sure to show all of the steps. Once you have normalized R, what normal forms are each the two new...
Consider the following relation R, where {A, B} is its PK. Assume that R is in the first normal form (INF). R (A, B, C, D, E, F) Functional dependencies: FD1: BàC FD2: AàDE FD3: ABàF Why is this table not in 2NF? Specify which FDs make R violate 2NF. Normalize the data shown in this table to second normal form (2NF). Specify the primary and foreign key (if any) in each table of your 3NF relations. Normalize the data...
Consider a relation R with five attributes A, B, C, D, and E. You are given the following functional dependencies: A → B, BC→E, and ED→A. (a) Is R in BCNF? If it is not, decompose it into a collection of BCNF relations. 2: BCNF and 3NF (3 points) Consider the relation schema R with attributes A, B, C, and D and the following functional dependencies: AB→C, AC→B, B→D, BC→A. (a) Is R in BCNF? If it is not, decompose...
Normalize EVERY relation to 3NF step by step Q1: Given the following table, identify the functional dependencies VisitID InvoiceDate Invoice Amt Invoiceltem 1002 11/09/2016 $65.00 Updated shots 1002 11/09/2016 $45.00 Flea & tick medications 1006 11/14/2016 $35.00 Heartworm medication 1006 11/14/2016 $65.00 Updated shots 1006 11/14/2016 $75.00 Lab work 1009 11/16/2016 $50.00 Grooming 1009 11/16/2016 $15.00 Nail trim 1012 11/21/2016 $65.00 Updated shots 1012 11/21/2016 $75.00 Lab work 1013 11/21/2016 $65.00 Updated shots 1013 11/21/2016 $75.00 Lab work 1014 11/21/2016...
Consider a relation schema R with attributes ABCDEFGH with functional dependencies S: S={B→CD, BF→H, C→AG, CEH→F, CH→B} Employ the BCNF decomposition algorithm to obtain a lossless decomposition of R into a collection of relations that are in BCNF. Make sure it is clear which relations are in the final decomposition and project the dependencies onto each relation in that final decomposition.
Consider relation R = (A,B,C,D,E) for the following:
2. Is R in 2NF with the following functional dependencies? If not, normalize it. [5 points] A→BC -AD → E в с 3. Are the relations from the answer of question 2 in 3NF? If not normalize it. 5 points]
Consider a relation R with ve attributes A, B, C, D, and E. You are given the following functional dependencies: A->B, BC->E, and ED->A. (a) List all keys for R. (10 points) (b) Is R in BCNF? If it is, explain why. If is not, decompose it into a collection of BCNF relations. (20 points) (c) Is R in 3NF? If it is, explain why. If it is not, convert it into a collection of 3NF relations. (20 points)
Normalisation Consider the following relation schema about project meetings: PMG(projID, title, type, manager, jobID, start-date, end-date, contractor, contractNo) Some notes on the semantics of attributes are as follows: • Each project has a unique project ID (projID) and also has a title, type and manager. Each manager has a specialty project type. • A project often contracts jobs to contractors with start-date and end-date. Contracts are identified by contract numbers (contractNo), but contract details are out of the scope of...
Language: SQL - Normalization and Functional
Dependencies
Part 4 Normalization and Functional Dependencies Consider the following relation R(A, B, C, D)and functional dependencies F that hold over this relation. F=D → C, A B,A-C Question 4.1 (3 Points) Determine all candidate keys of R Question 4.2 (4 Points) Compute the attribute cover of X-(C, B) according to F Question 43 (5 Points) Compute the canonical cover of F.Show each step of the generation according to the algorithm shown in class....