Skip to main contentSkip to solution

A student relation having five columns: RollNumber, SName, SDoB, GPhone, GName is given below.

RollNumberSNameSDoBGNameGPhone
101Akarsh21.04.95Himanshu9918044336
102Amit15.10.96Pradeep7905200265
103Anubhav13.06.95Sumit9415019796
104Amit12.05.94Nidhi8563886953
105Ajeet21.04.95Sumit9410927785

Based on the above records, which of the following attribute can be used to uniquely identify the tuples in the given relation?

A. RollNumber

B. SName

C. Gphone

D. SDoB

Solution

✅ Correct Option: 4

RollNumber (A) has a different value in every row, so it is a candidate key and identifies each tuple uniquely.

GPhone (C) also has five different values (9918044336, 7905200265, 9415019796, 8563886953, 9410927785), so it can identify tuples uniquely in the given records as well.


SName (B): "Amit" appears twice (rows 102 and 104), so it is not unique.

SDoB (D): "21.04.95" appears twice (rows 101 and 105), so it is not unique.

Uniqueness here is judged only from the given records. In a real design, a phone number could be shared by guardians of siblings, so RollNumber is the safest key.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question