in Databases edited by
8,994 views
5 votes
5 votes

If every non-key attribute functionally dependent on the primary key, then the relation will be in

  1. First normal form
  2. Second normal form
  3. Third normal form
  4. Fourth Normal form
in Databases edited by
by
9.0k views

4 Comments

I will claim this question..
0
0
Yes, it is not mentioned whether it is full or partial functional dependency.

The language of question is very poor as it can vary with different interpretations from $1-NF$, $2-NF$, and $3-NF$.

And if I don't presume anything then according to me $\mathbf{1-NF}$ is the only sure shot answer.
0
0

R: {X→Y,  Y→Z,  X→Z}

In above relation,  in FD Y→Z, Z is clearly Non key attribute and It is NOT dependent on Primary key Because Primary key is X.  So, Y→Z is not correct FD for given statement. Answer has to be 3NF.

0
0

12 Answers

0 votes
0 votes
It is assumed that no partial dependency and transitive dependency exist in the given question, so it in 3NF.
0 votes
0 votes
Since all the non-prime attributes are FULLY dependent functionally on the Primary Key, so it in 2NF.

Hence the option B is correct.
0 votes
0 votes

Answer :- C

Let's say A->B  . in the definition of 3NF , A is superkey/superset of B . or

 

no non-prime attribute is functionally dependent on other non-prime attribute .

 

in the question they said : every non-key attribute functionally dependent on the primary key

 

it means , from the second definition we can say that if A is prime attribute  and B is non-prime attribute , then this satisfy 3NF property 

0 votes
0 votes
In my view it is in 3NF because for 1NF only atomic value, 2NF there should be no partial dependency meaning no non-prime key should be dependent of proper subset of candidate key and in 3NF there should not be any transistive dependencies of non prime attributes.
Answer:

Related questions