Question
Which type of database key is a candidate key that has
not been chosen as the primary key?Solution
An Alternate Key is any candidate key that is not selected as the primary key of the table. Candidate keys are attributes (or combinations of attributes) that uniquely identify a row in a table. Among these, one is chosen as the primary key, while others are considered alternate keys. For example, in a table of students, both StudentID and Email might uniquely identify records. If StudentID is the primary key, Email becomes an alternate key. Alternate keys are useful for additional indexing or as foreign keys in related tables. Why Other Options Are Incorrect :
- Foreign Key : A foreign key establishes a relationship between two tables, linking a column to the primary key in another table.
- Composite Key : A composite key is made of two or more columns together acting as a primary key.
- Surrogate Key : This is a system-generated unique identifier for a row, not derived from application data.
- Super Key : A super key is a broader set of attributes that can uniquely identify a row, which may contain unnecessary attributes.
What is the maximum Central assistance provided for sewerage projects under AMRUT for cities with a population less than 1 lakh?
Ministry of Electronics and Information Technology has launched an integrated web portal for educational institutions in the country that will offer dom...
What percentage of senior citizens' deposits was recorded in September 2024, according to the RBI Quarterly BSR-2 report?
How much Line of Credit (LOC) did the Government of India approve for Angola for defence procurement?
The IRDAI introduced new guidelines for which aspect of travel insurance in early 2025?
What pioneering financial initiative has Bhutan introduced for tourists?
What is Mukesh Ambani’s rank on the Bloomberg Billionaires Index as of February 8, 2022?
On what date is Kerala expected to become India’s first digitally literate state?
LIC has been given approval by ______to raise stakes to 9.99% in IndusInd Bank?
Which Indian state in the northeast became the first among the eight states to initiate Aadhaar-linked birth registration, known as ALBR, in August 2023?