Thanks for replying ........ This is one answer I got on internet.........but could not understand. But then I think my question will be solved on these lines ...............
Consider a relation R(A,B,C,D,E,F). The only thing you know about R is that ABCD and
EF are keys. What is the maximum number of keys that R can possibly have (including ABCD and
EF)? Explain your calculation.
Since ABCD and EF are keys, no subset or superset can be a key (recall that a key is
minimal). The largest number of keys can be found by add an E or an F to selected subsets
of ABCD. The largest number of subsets of ABCD are of length 2, i.e., ¡4
2¢ = 6 (namely, AB,
AC, AD, BC, BD, CD). To these we can add either an E or an F to obtain a new key. So the
total number of keys that are not sub/supersets of ABCD or EF are 12 (namely, ABE, ABF,
ACE, ACF, ADE, ADF, BCE, BCF, BDE, BDF, CDE, CDF). Adding the two original keys,we have a maximum of 14 possible keys for the relation.
Any suggestion for mine?