Question
In the context of a relational database, which of the
following is NOT a characteristic of a candidate key ?Solution
A candidate key is a minimal superkey that uniquely identifies tuples in a relation. A fundamental property of candidate keys is that they cannot contain NULL values. This is because NULL signifies "unknown" or "not applicable," and allowing NULL values in a candidate key would mean that we cannot guarantee the uniqueness of the key. If a candidate key were allowed to have NULL values, there could be ambiguity in identifying records, which violates the principle of uniqueness and reliability. For example, if two tuples share the same key attributes except for one containing a NULL, the database cannot assert the uniqueness of these tuples. Why Other Options Are Incorrect:
- Option A: This is a true characteristic of candidate keys. Candidate keys must always uniquely identify each tuple in the relation to ensure data integrity.
- Option B: A candidate key can indeed be composite, consisting of multiple attributes if no single attribute suffices to uniquely identify the tuple.
- Option D: A relation can have multiple candidate keys, but only one is chosen as the primary key, while the others remain alternate keys.
- Option E: A candidate key is minimal, meaning no subset of its attributes can function as a key. This makes this statement a true property.
Who was appointed as the 102nd Prime Minister of Japan?Â
SmartFin, an end-to-end digital supply chain finance (SCF) platform, powered by Veefin Solutions has been launched that will help drive the required o...
Consider the following statements about unemployment:
1. Frictional unemployment occurs due to short-term transitions in the labor market.
What traditional love song from Bosnia has earned UNESCO recognition in December 2024?
- Who was the first and only Muslim woman to rule Delhi?
Consider the following statements in relation to GI tags:
1. Lanjia Saura paintings, Dongaria Kondh shawl, Khajuri Guda received GI tags in Jan 2...
Which country has recently become the country with the highest data center capacity in the Asia-Pacific region, leaving behind major countries like Aust...
Which country was the first to eradicate leprosy?
How much in Lines of Credit (LoC) did India extend to Vietnam in July 2024 to enhance its maritime security?
- Which statements about Dollu Kunitha dance are correct?
a) It is a popular dance of Karnataka.
b) Drums are adorned with colorful clothes.
c) Reli...