Difficulty: Easy
Correct Answer: Nonunique key used for data retrieval and alternative access paths.
Explanation:
Introduction / Context:
Keys define how rows are identified and accessed. Beyond the primary key, designers often add additional access paths to speed up lookups or support alternate query predicates. This question checks whether you can distinguish a secondary key from a primary or surrogate key and from storage/physical concerns.
Given Data / Assumptions:
Concept / Approach:
A secondary key is any non-primary-key attribute (or attribute set) that is indexed to support alternate access to rows. It does not have to be unique. Its purpose is performance and flexible retrieval, not entity identity. Think of searching customers by last_name or orders by order_date: these are classic secondary keys.
Step-by-Step Solution:
Verification / Alternative check:
Database texts distinguish: primary key (uniqueness + identity), candidate/surrogate keys (alternative unique identifiers), and secondary keys (additional indexed attributes, not necessarily unique).
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
Nonunique key used for data retrieval and alternative access paths.
Discussion & Comments