An alternate key in database table is also called

2025

An alternate key in database table is also called

Answer: B. Candidate keyAnswer: Candidate key Candidate key: A minimal set of attributes that can uniquely identify each row in a table. Alternate key: A candidate key that was not…

  1. A.

    Primary key

  2. B.

    Candidate key

  3. C.

    Super key

  4. D.

    Foreign key

Attempted by 2403 students.

Show answer & explanation

Correct answer: B

Answer: Candidate key

Candidate key: A minimal set of attributes that can uniquely identify each row in a table.

Alternate key: A candidate key that was not selected as the table's primary key. It can still uniquely identify rows but is an 'alternate' choice.

  • Example: A table has attributes (EmployeeID, Email, SSN). If EmployeeID is chosen as the primary key, Email and SSN (if each is unique) are alternate keys.

  • Contrast with related terms:

    Primary key: the chosen candidate key used to identify rows.

    Super key: any set of attributes that uniquely identifies rows (not necessarily minimal).

    Foreign key: an attribute that references the primary key of another table to enforce referential integrity.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Tpsc Assistant Technical Officer

Loading lesson…