1 votes 1 votes Maximum number of superkeys for the relation schema $R(X,Y,Z,W)$ with $X$ as the key is $6$ $8$ $9$ $12$ Databases nielit-2018 databases superkeys + – Arjun asked Dec 7, 2018 • recategorized Oct 24, 2020 by Krithiga2101 Arjun 3.4k views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
4 votes 4 votes Maximum number of super keys are 8 because X is a key and if any one is included with key it will be a super key. We have two choices for each one (Y,Z,W) include it and don't include it. making it as 2^3=8 Correct answer is B Peeyush Pandey answered Dec 7, 2018 Peeyush Pandey comment Share Follow See all 0 reply Please log in or register to add a comment.
2 votes 2 votes We know that definatly a X is a super key. So from pending Y,Z,W maximum number of super keys can be $2^3 - 1 = 7$ and As X is a key then 7+1 = 8 is max number of super key GursimranSingh8075 answered Jul 13, 2020 GursimranSingh8075 comment Share Follow See all 0 reply Please log in or register to add a comment.
1 votes 1 votes Maximum no. of possible superkeys for a table with n attributes = 2^(n-1) Here, n = 4. So, the possible superkeys = 2^(4-1) = 2^3 = 8 The possible superkeys are : X, XY, XZ, XW, XYZ, XYW, XWZ, XYZW shubhamittal answered Apr 26, 2020 shubhamittal comment Share Follow See 1 comment See all 1 1 comment reply GursimranSingh8075 commented Jul 13, 2020 reply Follow Share It is incorrect explanation correct explaination: We know that definatly a X is a super key. So from pending Y,Z,W maximum number of super keys can be $2^3 - 1 = 7$ and As X is a key then 7+1 = 8 is max number of super key 1 votes 1 votes Please log in or register to add a comment.