📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

In which situation is a surrogate key most useful?

A. When no natural attribute is stable and unique ✅
B. When a table has only one column
C. When a table has no rows
D. When all data is stored in one file

Correct Answer: A. When no natural attribute is stable and unique

Explanation

A surrogate key is an artificial identifier used when no natural attribute can reliably and permanently identify rows.