507 views

2 Answers

5 votes
5 votes
a table or the keys can have atmost one primary or clustered index....as there is already a primary index it cannot have clustered index....actually this is due to physical ordering which can be done only in one way.
–3 votes
–3 votes

I assume that by primary index, you mean index on a single attribute.

Without even primary index,

total indexes = nC1 + nC2............nCn   (you can build index on any no of attribtes like our dictionary)

But nC1 is already used.So we need to subtract from the final answer.

Now, nC0 + nC1 + nC2............nCn =2n

Thus, answer = 2n - nC1 - nC0 = 2n -(n+1)

Related questions

0 votes
0 votes
0 answers
3
Abhishek Kumar Singh asked Dec 23, 2017
500 views
2 votes
2 votes
0 answers
4
Manu Thakur asked Oct 26, 2017
1,987 views
In the following question, How to know that at first level (base level) index entries will be recorded for a block or for each record?https://gateoverflow.in/2311/gate199...