Skip to main contentSkip to solution

A company wants to create a relation 'Department' to maintain the following details about the employees in the company.

Department (ENO, ENAME, AADHARCARD, PHONENUMBER, PANCARD, ADDRESS)

Name the attributes which can be used as candidate keys.

Solution

✅ Correct Option: 3

ENO (employee number), AADHARCARD and PANCARD each identify one employee uniquely, so each can be a candidate key. A candidate key is a minimal attribute set whose value is different for every tuple.


Option 1: ADDRESS is not unique, since employees living together share an address.

Option 2: PHONENUMBER can be shared (a family or office number), so it cannot guarantee uniqueness.

Option 4: ENAME is not unique, since two employees can have the same name.

Keyboard Shortcuts

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