Skip to content
Related Articles

Related Articles

GATE | GATE-CS-2014-(Set-2) | Question 31

View Discussion
Improve Article
Save Article
Like Article
  • Last Updated : 28 Jun, 2021

The maximum number of superkeys for the relation schema R(E,F,G,H) with E as the key is
(A) 5
(B) 6
(C) 7
(D) 8


Answer: (D)

Explanation: Maximum no. of possible superkeys for a table with n attributes = 2^(n-1)
Here, n = 4.
So, the possible superkeys = 24-1 = 8
The possible superkeys are : E, EH, EG, EF, EGH, EFH, EFG, EFGH

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!