1,025 views
1 1 vote

1 Answer

0 0 votes

Simply apply inclusion exclusion rule ATQ.

Given that, CKs are {A} and {BC}.

So, Total no. of SKs = 2^(n-1) + 2^(n-2) – 2^(n-3)     [ {inclusion of 1st CK + inclusion of 2nd CK } – {exclusion of {CK1 & CK2}}]

  = 2^(5-1) + 2^(5-2) – 2^(5-3)

  = 2^4 + 2^3 – 2^2

  = 16 + 8 – 4

  = 20   (Ans)

Position:
Show:

Related questions

0 0 votes
2 answers 2 answers
4.8k
4.8k views
Rohit Gupta 8 asked Nov 18, 2017
4,769 views
The number of superkeys possible for the relation R(A B C D E) with {A, BC, CDE} as three candidate keys are _________.Please EXPLAIN the solution.
1 1 vote
1 answers 1 answer
5.6k
5.6k views
Shefali asked Jul 23, 2015
5,598 views
The answer given is YES. But how is the dependency C - DE preserved in this decomposition?