Use app×
QUIZARD
QUIZARD
JEE MAIN 2026 Crash Course
NEET 2026 Crash Course
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
743 views
in Programming by (95.4k points)
closed by
The maximum number of superkeys for the relation schema R(E, F,G,H) with E as the key is _____

1 Answer

0 votes
by (95.2k points)
selected by
 
Best answer

Concepts:

Any superset of a key (primary key or candidate key) is a superkey.

Data:

n → total number of attributes = 4

n(s) → total number of super keys

In R(E, F, G, H) E is a primary key. Therefore, it must be included in every superkey.

F, G, H may or may not included in superkey.

E   F  G  H

↓   ↓   ↓   ↓

1   2   2   2


Formula:

Since only one superkey is present in the relation:

n(S) = 2n -1

Calculation:

n(S) = 24-1 = 23 = 8

Superkeys are: E, EF, EG, EH, EFG, EFH, EGH, EFGH

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...