Bird
0
0

Which statement about composite primary keys is TRUE?

easy📝 Conceptual Q2 of 15
SQL - Table Constraints
Which statement about composite primary keys is TRUE?
AThey can consist of one or more columns
BThey allow NULL values in any of the key columns
CThey enforce uniqueness across the combination of columns
DThey automatically create foreign keys in other tables
Step-by-Step Solution
Solution:
  1. Step 1: Check NULL allowance in primary keys

    Primary keys do not allow NULL values in any column.
  2. Step 2: Understand uniqueness enforcement

    Composite primary keys enforce uniqueness across the combined columns, not individually.
  3. Final Answer:

    They enforce uniqueness across the combination of columns -> Option C
  4. Quick Check:

    Composite keys = Unique combination [OK]
Quick Trick: Composite keys enforce uniqueness on combined columns [OK]
Common Mistakes:
MISTAKES
  • Believing primary keys can have NULLs
  • Thinking composite keys create foreign keys automatically
  • Assuming composite keys can be just one column

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More SQL Quizzes