2,107 views
0 0 votes
prime attributes are any attribute that are members of candidate key
cant we say that members of SK are also prime attributes?

2 Answers

Best answer
1 1 vote
No its not true..

Suppose a relation R(ABCD) and let AB be the candidate key.

Then the prime attributes are : A,B

But superkey can be either of AB , ABC , ABD , ABCD

So lets consider a superkey : ABC

so C is also a member of ABC but C is not a prime attribute as C is not part of AB :)

I hope u got the point.
selected by
1 1 vote

No, we  cant say  that members of SK are also prime attributes?

Set of all attribute is super key

if you take prime attribute as any attribute that are members of Super key 

Then all attribute became prime attribute

Position:
Show:

Related questions

1 1 vote
0 0 answers
524
524 views
amit166 asked Jan 11, 2019
524 views
Let f(x$_{1}$,x$_{2}$,x$_{3}$,………,x$_{10}$)=1 if 5 or more variable equal to one ,then number of prime implicants are in f?
1 1 vote
1 1 answer
115
115 views
GO Classes asked Sep 8
115 views
Consider the relation schema $R(A,B,C,D,E)$ with$F=\{AB \to C,\ CD \to E,\ DE \to B\}$Which attributes must necessarily occur in every candidate key of $R$?$A$ $B$ $C$ $D...
2 2 votes
1 1 answer
449
449 views
shc asked Jan 19
449 views
In SQL-92 (which is what GATE assumes), which columns are allowed in SELECT and HAVING, when GROUP BY is present or not ?Which columns/attributes can be aggregated or non...