Question:

How many candidate keys are possible with the table?
RollNoNameMobileCity
1Arun91Delhi
2Sanjay92Mumbai
3Arun93Noida
4Varun94Guwahati
5Arti95Kolkata

Updated On: May 28, 2025
  • One
  • Two
  • Three
  • Four
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Approach Solution - 1

In the provided table, we need to identify the number of candidate keys. A candidate key is defined as a minimal set of attributes that can uniquely identify a table record. Let's analyze the table: 

RollNoNameMobileCity
1Arun91Delhi
2Sanjay92Mumbai
3Arun93Noida
4Varun94Guwahati
5Arti95Kolkata

Each 'RollNo' is unique for every student, hence it can be a candidate key.

Each 'Mobile' number is also unique, thus it can be a candidate key.

Considering this analysis, we have two candidate keys: 'RollNo' and 'Mobile'.

Therefore, the correct answer is: Two.

Was this answer helpful?
0
0
Hide Solution
collegedunia
Verified By Collegedunia

Approach Solution -2

A candidate key is a minimal set of attributes that uniquely identifies each tuple in a table.

In the given table:

Therefore, the candidate keys are RollNo and Mobile.

Thus, the answer is (2) Two.

Was this answer helpful?
0
0