708 views
3 3 votes
Consider the following relation: R (A1, A,2, ....., An) and Every (n – 2) attributes of R forms Candidate key. Which of the following represents the number of super keys are there in R ?
a.   nCn–2 * 22 b.   nCn–2 + n + 1 c. nCn–2 * [3] d. nCn–2

1 Answer

Best answer
2 2 votes

given that Every (n – 2) attributes of R forms Candidate key. 
so no. of super key =
every (n – 2)  combination out of n OR every (n – 1)  combination out of n OR every (n )  combination out of n
=ncn-2 + ncn-1 +ncn
=  ncn-2 +n+1
B is correct

selected by
Answer:
Position:
Show:

Related questions

0 0 votes
0 0 answers
411
411 views
Prem Sai Kodi asked Jan 22
411 views
I'm confused about this...help me... 
0 0 votes
0 0 answers
447
447 views
DTYDHTB asked Dec 12, 2025
447 views
Consider a database system where transactions are executed concurrently. If transaction T1 holds an exclusive lock on resource R1 and requests a shared lock on resource R...
0 0 votes
0 0 answers
563
563 views
Naman_Chandel asked Dec 4, 2025
563 views
In a universally database, there are entity sets: Student (SID, Name, Dept), Professor (PID, Name, Dept), Course (CID, Title) and Project (ProjID, Topic). Student registe...
0 0 votes
0 0 answers
220
220 views
Sarthak_Joshi asked Jul 18, 2025
220 views
Consider the following interleaved schedule S involving transaction T₁, T₂ on data item X and Y.S: R₁(X); W₁(X); R₂(X); W₂(X); R₂(Y); W₂(Y); R₁(Y); W₁(Y); C₂, C₁Where R(X...