Home » Database » Database miscellaneous » Question

Database miscellaneous

  1. Consider a relational table with a single record for each registered student with the following attributes:
    1. Registration_Number: Unique registration number for each registered student
    2. UID: Unique Identity Number, unique at the national level for each citizen
    3. Bank Account_Number: unique account number at the bank. A student can have multiple accounts or joint accounts. This attributes stores the primary account number
    4. Name: Name of the Student
    5. Hostel_Room: Room number of the hostel
    Which of the following options is incorrect?
    1. Bank Account_Number is a candidate key
    2. Registration Account_Number can be primary key
    3. UID is a candidate key if all students are from the same country
    4. If S is a superkey such that S UID ∩ is NULL then S UID is also a super key
Correct Option: A

Candidate key cannot be commen. Here, the two students can have common account number, so bank account number will not work like candidate keys.



Your comments will be displayed only after manual approval.