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 Databases super-key databases + – Na462 2.2k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
Best answer 3 3 votes I hope my handwriting is clear enough. Akhilesh Singla answered May 12, 2018 • selected May 12, 2018 by Na462 Akhilesh Singla comment Share Follow See all 3 Comments 3 3 Comments reply Na462 commented May 18, 2018 reply Follow flag Sir in question it says that every two attributes then ok i understood you did 5C2 but why 5C3,5C4 etc. in question it says about every 2 not atleast 2. Plz Correct me Sir. 0 0 replyShare Prateek Raghuvanshi commented May 18, 2018 reply Follow flag Super keys are superset of candidates key ,in question given that every two attribute is candidate key means you can use two attribute for super key or more than two elements ,so you can select any 2,3,4 or 5. 0 0 replyShare Na462 commented May 19, 2018 reply Follow flag Ohk thanku sir 0 0 replyShare Please log in or register to add a comment.
0 0 votes Total super key possible is 26 avadh answered Dec 19, 2018 avadh comment Share Follow 0 reply Please log in or register to add a comment.
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.. Himanshu Kumar Gupta answered Sep 11, 2020 Himanshu Kumar Gupta comment Share Follow 0 reply Please log in or register to add a comment.