Computer Science, asked by asghjhyht562, 3 months ago

a2 atrribute please tell​

Answers

Answered by simranmarodia
1

Answer:

Example-1 : Let a Relation R have attributes {a1,a2,a3} & a1 is the candidate key. Then how many super keys are possible?

Here, any superset of a1 is the super key.

Super keys are = {a1, a1 a2, a1 a3, a1 a2 a3}

Thus we see that 4 Super keys are possible in this case.

In general, if we have ‘N’ attributes with one candidate key then the number of possible superkeys are 2(N – 1).

Similar questions