@amarVashishth @Shaik Masthan
Sir,
what this formula says i didn't get it:
Maximum no. of possible superkeys for a table with n attributes = 2^(n-1)
what i know or i can drive ,let say there are 4 attribute for a relation R is
{E, F, G, H} (note that i do not give any restriction here)
the possible number of super keys
include only one attribute -> 4C1 = 4. => {E, F, G, H}
including two attribute 4C2 = 6. => {EF, EG, EH, FG, FH, GH}
including three and four 4C3 = 4 and 4C4 = 1. => { EFG, EGH, EFH, FGH} and {EFGH}
total possible SK's turns out to be = 15 so we can say ( 2^n) -1 where n-> #of attributes in the Relation R,
since they said clearly all super keys those includes E (E already a key in R)
then we takes all super keys those includes E isn't it ?
and it is also possible that without including key attribute we can also form super keys
eventually $\LARGE keys\subseteq candidate_keys \subseteq super_keys$
Correct me sir if i'm wrong, for correctness of my approach !