edited by
6,320 views
5 votes
5 votes

If every non-key attribute is functionally dependent on the primary key, then the relation is in ________

  1. First normal form
  2. Second normal form
  3. Third normal form
  4. Fourth normal form
edited by

18 Answers

1 votes
1 votes

ANSWER MUST BE 2NF

EXPLANATION
2 NF – Every non-key attribute is fully functionally dependent on the primary key.
3 NF – No non-key attribute is transitively dependent on the primary key.

1 votes
1 votes

It Should be in 2NF.

According to the definition of 2NF and 3NF

2 NF – A relation R is in second normal form (2NF) if and only if it is in 1NF and every non-key attribute is fully dependent on the primary key.
Note that it does not put any restriction on the non-prime to non-prime attribute dependency. 

For Example
A--->B, B--->C , A--->C here A is key and relation is in  2NF.

Here A is Primary Key and every non key attributes i.e. B and C fully dependent on A

But here B--->C is also a functional dependency which voilate 3NF

3 NF – A relation R is in third normal form (3NF) if and only if it is in 2NF and every non-key attribute is non-transitively dependent on the primary key.

So Answer Should be 2NF

0 votes
0 votes

Relation R(XYZ) with functional dependencies {X -> Y, Y -> Z, X -> Z}.
This relation is in 2NF but not in 3NF because of every non-key attribute(Y,Z) is transitively dependent on the primary key. Here {X} will be candidate key.Answer 2

Answer:

Related questions