GATE CS 2014 · Set-2 · ER-Model

NAT · 1 mark · Problem DBMS-RELM-0080

The maximum number of super keys for the relation schema R (E, F, G, H) with E as the key is .

Numerical answer (NAT).

Solve it on GATE DA practice →More Relational Model & SQL problems

Show the worked solutionA super key is any attribute set that contains a key. The maximum is reached when E is the only key, so the super keys are E together with any subset of the other three attributes F, G, H.\[\boxed{\#\text{super keys}=2^{\,n-1}}\]\[2^{3}=8.\]Answer: 8

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com