English

A table has two candidate keys, one of which is chosen as the primary key. How many alternate keys does this table have? - Computer Science (Python)

Advertisements
Advertisements

Question

A table has two candidate keys, one of which is chosen as the primary key. How many alternate keys does this table have?

Options

  • 0

  • 1

  • 2

  • 3

MCQ
Advertisements

Solution

1

Explanation:

A Candidate Key is any attribute that can uniquely identify a record in a table. When a table has multiple candidate keys, only one is selected to be the Primary Key. All remaining candidate keys are then referred to as Alternate Keys. In this problem, since one of the two candidate keys is chosen as the primary key, exactly one remains to be the alternate key.

shaalaa.com
  Is there an error in this question or solution?
2025-2026 (March) Set 4
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×