hamburger menu
All Coursesall course arrow
adda247
reward-icon
adda247
    arrow
    arrow
    arrow
    The primary characteristic of a key field is that it must be:
    Question

    The primary characteristic of a key field is that it must be:

    A.

    a text

    B.

    duplicate

    C.

    a name

    D.

    unique

    Correct option is D

    A key field (primary key or candidate key) uniquely identifies each record in a table.
    Its defining property is uniqueness—no two rows may share the same key value.
    This guarantees unambiguous retrieval, updates, and deletion of specific records.
    Keys may be numeric or text; data type is not the defining feature.
    Duplicate or nullable values violate primary key rules.
    Therefore, the essential characteristic is that the key must be unique.
    Important Key Points

    1. Primary Key: Unique and non-null; one per table.
    2. Candidate Keys: All fields (or combinations) that could serve as a primary key; each must be unique.
    3. Alternate Key: Candidate key not chosen as the primary key.
    4. Surrogate vs Natural: Keys can be artificial (e.g., auto-increment ID) or real-world (e.g., ISBN).
    5. Indexing: Keys are typically indexed to speed lookups and enforce uniqueness.
    6. Referential Integrity: Foreign keys reference primary/unique keys in related tables.

    Knowledge Booster

    • Why not (a) text? Keys can be any data type (int, UUID, text); type doesn’t define a key.
    • Why not (b) duplicate? Duplicates are disallowed; duplicates break identity of rows.
    • Why not (c) a name? Names are often not unique; thus poor primary keys unless constrained.

    Free Tests

    Free
    Must Attempt

    Unit & Measurement - 1

    languageIcon English
    • pdpQsnIcon10 Questions
    • pdpsheetsIcon10 Marks
    • timerIcon5 Mins
    languageIcon English
    Free
    Must Attempt

    States of Matter

    languageIcon English
    • pdpQsnIcon10 Questions
    • pdpsheetsIcon10 Marks
    • timerIcon5 Mins
    languageIcon English
    Free
    Must Attempt

    Classification of Plants

    languageIcon English
    • pdpQsnIcon10 Questions
    • pdpsheetsIcon10 Marks
    • timerIcon5 Mins
    languageIcon English
    test-prime-package

    Access ‘UPSSSC’ Mock Tests with

    • 60000+ Mocks and Previous Year Papers
    • Unlimited Re-Attempts
    • Personalised Report Card
    • 500% Refund on Final Selection
    • Largest Community
    students-icon
    353k+ students have already unlocked exclusive benefits with Test Prime!
    Our Plans
    Monthsup-arrow