1,453 views
0 votes
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 votes
3 votes

I hope my handwriting is clear enough. 

selected by
0 votes
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..

Related questions

1 votes
1 votes
1 answer
1
hacker16 asked Jan 17, 2018
2,679 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-...
3 votes
3 votes
2 answers
2
Ram Swaroop asked Jan 30, 2019
1,298 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_
0 votes
0 votes
1 answer
3
ssm asked 1 day ago
38 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)
2 votes
2 votes
1 answer
4
srestha asked May 9, 2019
1,849 views
Consider the relation $R\left ( A,B,C,D,E \right )$$A\rightarrow BC$$C\rightarrow E$$B\rightarrow D$$E\rightarrow A$Total number of superkeys present in relation will be ...