2,165 views
0 0 votes

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 __________.

Please explain a general method to solve

3 Answers

Best answer
3 3 votes

I hope my handwriting is clear enough. 

• selected by
0 0 votes
Other Way to Solve Using Set Theory

R ( A B C D E )

with that 2^5 unique Subset Are possible  but we want only those Subset which Contain  Atleast 2 element then we remove subset with 0 element as well as Subset with 1 element

Subset with 0 element is 1

Subset with Only One Element  is 5C1

ubset which Contain  Atleast 2 element = 32 – 5 – 1

                                                                = 26

CORRECT ME if  i am wrong..
Position:
Show:

Related questions

1 1 vote
1 1 answer
4.8k
4.8k views
hacker16 asked Jan 17, 2018
4,820 views
R (A1, A2, ….An) and every (n-2) attributes of R forms a candidate key. How many superkeys are there in R?a) $_{n-2}^{n}\textrm{C}$b) $_{n-2}^{n}\textrm{C}$ * 4c) $_{n-2}...
4 4 votes
2 2 answers
2.7k
2.7k views
Ram Swaroop asked Jan 30, 2019
2,697 views
Consider the following relation R(A1, A2,...A15) with (A1,A2, ... A6) of relation R are simple candidate key. The number of possible superkey in relation R is_
2 2 votes
1 1 answer
176
176 views
GO Classes asked Sep 2
176 views
Consider the relation schema $R(A,B,C,D,E)$.It is known that $R$ has exactly two candidate keys, and one of them is ${A,B}$.What are the maximum and minimum possible numb...
2 2 votes
2 answers 2 answers
2.0k
2.0k views
ssm asked Apr 18, 2024
2,013 views
R(A1, A2,A3,A4....AN). How many super keys possible in relation? If (A1 is candidate key, A2 is candidate key, A3 is candidate key)