287 views
0 votes
0 votes
What would be the number of super keys for a relation R with “n” attributes?

NOTE: Any attribute can be the candidate key.

1 Answer

0 votes
0 votes
let Relation R(a,b,c) so here three attribute

and each attribute itself is a candidate key then

all possible combination  is a superkey  which is all subset of set {a,b,c} only left null set so

a,ab,ac,b,bc,c, abc which is like as (2^n)-1=7

Related questions

1 votes
1 votes
0 answers
1
JAINchiNMay asked Dec 1, 2022
439 views
Any attribute(s) determining a prime attribute, automatically becomes a prime(s) attributeTrue or false
0 votes
0 votes
1 answer
3
abhinowKatore asked Sep 8, 2022
261 views
If a schedule is not conflict-serializable. Is it serializable?
1 votes
1 votes
1 answer
4
Manisha Jaishwal asked Aug 10, 2022
347 views
S:- R1(x) R1(y) W1(x) R2(z) R2(y) W3(y) R2(y)Schedule is view Serializable or not ?