424 views

1 Answer

0 votes
0 votes
Consider we have  n attributes represented as a bit. We can put 1 when an attribute has to be a part of superkey or 0 otherwise. So this will be (2^n), because we have two choices (1 or 0) for each of the n bits/attributes. We subtract 1 to avoid all 0's, that is considering 'no-attribute' as a superkey. So (2^n)-1 superkey are there.

Related questions

0 votes
0 votes
1 answer
1
radha gogia asked Aug 15, 2015
700 views
The database can be configured to do ordered indexing on Ap or hashing on Ap. Which of the following statements is TRUE?(A) Ordered indexing will always outperform hashin...
5 votes
5 votes
1 answer
2
set2018 asked Nov 12, 2017
3,977 views
consider the following relational schema R(ABCDE) .The number of super keys in relation R if every two attributes of relation R is candidate keys are ___________
0 votes
0 votes
0 answers
4
ms17436 asked Jul 12, 2016
222 views