310 views
5 votes
5 votes

Let $R (A, B, C)$ be a relational schema with the following functional dependencies :
$\{A \rightarrow B, B \rightarrow C, C \rightarrow A\}$

The decomposition of $R$ into $(A, B), (B, C).$

  1. Gives a lossless join, and is dependency preserving
  2. Gives a lossless join, but is not dependency preserving
  3. Does not give a lossless join, but is dependency preserving
  4. Does not give a lossless join and is not dependency preserving

1 Answer

4 votes
4 votes
The relation $R$ is decomposed into two relations $R_{1},R_{2}.$

$R_{1}(A,\textbf{B}):$

$A \rightarrow B,  B \to A $ are present here. $B \to A $ is implied by $B \to C, C \to A.$

$R_{2}(\textbf{B},C):$

$B \rightarrow C, C \to B$ are present here.

Whenever we decompose a relation if the common attribute is a key of one of them, then the decomposition is lossless. Here, the common attribute is B and B is the key of $R_2.$ So, the decomposition is lossless.

The FD $C \to A$ is preserved in this decomposition.

So, the correct answer is A.
edited by
Answer:

Related questions

4 votes
4 votes
1 answer
2
gatecse asked Oct 8, 2020
361 views
From the following instance of a relation schema $R(A,B,C)$, we can conclude that:(Mark all the appropriate options)$$\begin{array}{|l|l|l|}\hline \textbf{A} & \textbf{B}...
1 votes
1 votes
1 answer
3
gatecse asked Oct 8, 2020
158 views
Given the following relation instance.$$\begin{array}{|l|l|l|}\hline \text{X} & \text{Y} & \text{Z} \\\hline \text{1} & \text{0} & \text{5} \\\text{2} & \text{1} & \text{...