First, come up with a relation with some functional dependencies. At least one of the functional dependencies violates BCNF and at least one other of the functional dependencies makes it not dependency-preserving. Now, do lossless-join decomposition into BCNF although it may not be dependency-preserving.
Second, come up with a relation with some functional dependencies that make it dependency-preserving but not lossless-join.
Explain every step.
some basic definitions:-
dependency preservation decomposition:-F
Relational schemas R with FD set F decomposed into relations R1,R2,R3,...,Rn with FD sets F1,F2,F3,...,Fn then
if [F1UF2UF3U...UFn] is equal to F then it is dependency preservation decomposition.
Lossless join decomposition:-
Relational schemas R with FD set F decomposed into relations R1,R2,R3,...,Rn subrelations
if R1 join R2 join R3....join Rn is equal to R then it is lossless join decomposition.
A very simple trick to check if lossless join had occured or not is check if two relations which are being joined have atleast one attribute in common and atleast in one relation that common attribute is key.
Now, a relation which is not in BCNF and when decomposed to form BCNF it can't be dependency preserved:-


First, come up with a relation with some functional dependencies. At least one of the functional...
5c. Consider the relation R(ABCDE) with the set of functional dependencies F={BE→D, DE→A, AD→C, B→E}. Using decomposition, find a lossless, dependency preserving, BCNF set of relations for R, if such exists. Be sure to identify the projections of the functional dependencies onto the resulting relations at each stage of the decomposition.
Which of the following statements is CORRECT? (1 Point) Select one: O Every relation that is in 3NF have no redundancy. A relation that is in BCNF could have some redundancy. Every relation that is in 3NF is also in BCNF. For Every relation that is not in BCNF, we can always find a lossless-join and dependency-preserving decomposition of the relation into BCNF relations. All of the above. O None of the above
Which of the following statements is CORRECT? (1 Point) Select one: Every relation that is in 3NF have no redundancy. O A relation that is in BCNF could have some redundancy. Every relation that is in 3NF is also in BCNF. For Every relation that is not in BCNF, we can always find a lossless-join and dependency-preserving decomposition of the relation into BCNE relations All of the above. None of the above.
Which of the following statements is CORRECT? (1 Point) Select one: O Every relation that is in 3NF have no redundancy. O A relation that is in BCNF could have some redundancy. o Every relation that is in 3NF is also in BCNF. For Every relation that is not in BCNF, we can always find a lossless-join and dependency-preserving decomposition of the relation into BCNF relations All of the above. None of the above
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....
Dependency Very Good dependency (key dependency) : XA where Table Very good If all dependencies in a table are '"very good", the table is in BCNF X is a candidate key Good Good dependency: X-> A where If all dependencies in a table are "very good" or "good", the table is in 3NF X is not a candidate key X is a part of a candidate key A is prime attribute Bad Bad dependency (Transitive Dependency): X A where If...
Consider the following relation R = {A,B,C,D,E} and the following set of functional dependencies F = { A → BC CD → E B → D E → A} F = { A → BC CD → E B → D E → A} Give a lossless, dependency-preserving decomposition into 3NF of schema R
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.
The right side of any functional dependency must contain a candidate key. TRUE FALSE » Given a set of functional dependencies F, there always exists a canonical cover of F TRUE FALSE Some schemas cannot be transformed into BCNF FALSE TRUE Every schema can be transformed into 3NF, and the resulting schema is dependency- preserving TRUE FALSE . Any schema that is in BCNF is also in 3NF FALSE TRUE
The right side of any functional dependency must contain a...
Please apply the Lossless Join Testing algorithm to see if the decomposition D is a lossless join decomposition. Please provide testing details step by step when you apply the set of functional dependency for testing. Given 1. The universal relation schema Q(CTHRSG), where C = course, T = teacher, H = hour, R = room, S= student, and G = grade. 2. The minimal set of functional dependencies F are assumed: C -> T each course has one...