📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

Why do many designers keep both a surrogate primary key and a unique natural key?

A. To allow fast joins on the surrogate key while still preventing duplicate real entities ✅
B. To make the table larger
C. To avoid using foreign keys
D. To satisfy first normal form

Correct Answer: A. To allow fast joins on the surrogate key while still preventing duplicate real entities

Explanation

The surrogate key gives stable, fast joins while a UNIQUE constraint on the natural key stops the same real entity being stored twice.