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.
A car is moving at a uniform speed of 35 km/h. What is the time it takes to cover 140 km?
A car running with a speed of 69 km/hr takes 28 hours to go from 'A' to 'B'. If on the way back from 'B' to 'A', the car takes 20% less time than it tak...
A trip from Mumbai to Pune takes 4 hours 30 minutes at a speed of 60 km/hr. How long (in hours) will it take to complete, if the speed is 15m/sec?
A can complete 40% of a work in 6 days and B can complete 33(1/3)% of the same work in 8 days. They work together for 8 days. C alone completes the rem...
A and B can complete a work together in 36 days. If A alone can complete one-fourth of the work in ‘x’ days and remaining work is completed ...
Four bells ring at 16, 24, 36, 42 minute intervals. If they ring together at 6.00 a.m., after how long would they next ring together?
...An elephant can do a work as fast as two horses ‘A’ and ‘B’ can do it by working together. If horse ‘A’ alone can co...
A and B can finish a work working on alternate days in 19 days, when A works on the 1st day. Similarly, they can finish the work working on alternate da...
Sanjay and Amit can do a piece of work in 8 days. Amit alone can do it in 12 days. In how many days will Sanjay do it alone?
A and B can together complete a task in 18 hours. After 6 hours A leaves. B takes 36 hours to finish rest of the task. How many hours would A have take...