edited by
825 views
2 votes
2 votes

For a database relation $R(a,b,c,d)$ where the domains of $a,b,c$ and $d$ include only atomic values, only the following functional dependencies and those that can be inferred from them hold.

  • $a \rightarrow c$
  • $b \rightarrow d$

The relation is in

  1. First normal form but not in second normal form
  2. Second normal form but not in third normal form
  3. Third normal form
  4. None of the above
edited by

2 Answers

2 votes
2 votes
a->c
b->d
candidate key is only one: {ab}
so key attribute is : a and b
and non-key attribute is: c and d
{*for 2nf f.d. should free from partial dependancy*}
{*partial dependancy= (part of key->non-key attribute)*}

in given question partial depency is present so it is not in 2nf.

hence, option A is correct.
0 votes
0 votes

there is partial dependencies as ab is candidate key ,

so this relation can’t be in 2nd niormal form ,

hence option A is correct .

 

Answer:

Related questions

4 votes
4 votes
2 answers
1
admin asked Apr 1, 2020
1,957 views
Which of the following desired features are beyond the capability of relational algebra?Aggregate ComputationMultiplicationFinding transitive closureAll of the above
0 votes
0 votes
1 answer
2
1 votes
1 votes
0 answers
4