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.
Which of the following schemes has won the national award for e governance (Gold) 2023?Β
- Which of the following ministry launched Automated Online Data Transfer?Β
What was the primary focus of Exercise Udara Shakti 2024, in which the Indian Air Force participated alongside the Royal Malaysian Air Force?
Any benefits attached to a position in addition to the salary or wages are called as ____________.
Which state in India recorded the highest wool production according to the 2024 Animal Husbandry Report?
Consider the following statement about ICC Men's Cricket World Cup 2023:
1. Virat Kohli has been named as the player of the tournament.
2....
In Vaishnavism, how many avatars or incarnation of deity were recognised?
The Gazette notification to bring which of the following temple of Odisha to the protected monument list of Archaeological Survey of India (ASI) came on...
Who was unanimously re-elected as theΒ (ICC) Chairman for another two-year term?
What is the name of antibiotic containing chlorine which is produced by soil containing microorganisms and is effective for the treatment of typhoid fever?