edited by
7,372 views
28 votes
28 votes

A table has fields $F_1, F_2, F_3, F_4, F_5$ with the following functional dependencies  

  • $F_1 \to F_3,  F_2\to F_4,   (F_1 . F_2) \to F_5$

In terms of Normalization, this table is in

  1. $1\;\text{NF}$
  2. $2\;\text{NF}$
  3. $3\;\text{NF}$
  4. None of these
edited by

5 Answers

Best answer
43 votes
43 votes

Answer is A 1NF

Key is $\{F_1,F_2\}$

$F_1\rightarrow F_3, F_2 \rightarrow F_4$ are partial dependencies (a proper subset of candidate key determining a non-key attribute) thus violating $2\;\text{NF}$ requirement.

edited by
5 votes
5 votes

Detailed Video Solution: https://youtu.be/1UnTwHvQ3y8 

For the given relation $R$, the only candidate key is $F_1F_2.$ So, the non-prime attributes are $F_3,F_4,F_5.$

Now, we can check whether $R$ is in 2NF or Not, in one of the two way, given below:

Method 1:

The given relation is Not in 2NF because there exists a non-trivial functional dependency where a proper subset of some candidate key determines some non-prime attribute, & that is: $F_1 \rightarrow F_3.$

Method 2:

The given relation is Not in 2NF because some non-prime attribute (i.e. $F_3$) is partially dependent on some candidate key (i.e. $F_1F_2$).

NOTE: For the given relation, $F_1 \rightarrow F_3$ is NOT partial dependency. It is actually a Full functional dependency. The partial dependency is $F_1.F_2 \rightarrow F_3$ because we can remove $F_2$ from LHS & still derive $F_3.$ 

$\color{red}{\text{Misconception:}}$ A very common misconception is that $F_1 \rightarrow F_3$ is a partial dependency. This is wrong. Refer this lecture & the definitions below.

Partial Dependency Definition (Source: Silberschatz, Korth):

Partial Dependency Definition (Source: Elmasri, Navathe)

Partial Dependency Definition (Source: Codd’s Original Research Paper)

https://forum.thethirdmanifesto.com/wp-content/uploads/asgarosforum/987737/00-efc-further-normalization.pdf 


Learn Complete Normalization Course HERENormalization Complete Playlist 

Detailed Video Solution of this question: https://youtu.be/1UnTwHvQ3y8 

Answer:

Related questions