📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

What distinguishes a surrogate key from a candidate key?

A. A surrogate key is always composite
B. A candidate key is a possible primary key from real attributes, a surrogate key is artificial and added by design ✅
C. A candidate key can contain nulls
D. A surrogate key must be text

Correct Answer: B. A candidate key is a possible primary key from real attributes, a surrogate key is artificial and added by design

Explanation

Candidate keys are existing attributes that could identify a row, while a surrogate key is a new artificial column created for that purpose.