in Databases
430 views
0 votes
0 votes
Consider a relation R(A,B,C,D,E,F,G) and the following functional dependencies: (B->D, D->E, AB->C, AE-F, C -> A, F -> G } and choose the correct option:

(A) Only A and B are prime attributes

(D) Only A, B and C are prime attributes

(B) Only B and C are prime attributes

(C) Only A, B and F are prime attributes
in Databases
430 views

2 Answers

1 vote
1 vote
Best answer
For given relation first will identify candidate keys –

{AB}+ → {A, B, D, E, C, F, G }

{BC}+ → { B, C, A, D, E, F, G }

 

prime attributes are – A, B and C
selected by

2 Comments

So basically, prime attribute consists of the attributes which combinely forms super keys, right?
0
0

Formal Definition given in Navathe –  An attribute of relation schema R is called a prime attribute of R if it is a member of some candidate key of R. An attribute is called nonprime if it is not a prime attribute — that is, if it is not a member of any candidate key.

1
1
1 vote
1 vote
  1. only a,b,c are prime atribute 

Related questions

0 votes
0 votes
0 answers
2
suneetha asked in Databases Jan 14, 2019
215 views
suneetha asked in Databases Jan 14, 2019
215 views