📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

What is the main purpose of a composite key?

A. To allow NULL primary keys
B. To uniquely identify each row when single columns cannot ✅
C. To store duplicate rows
D. To replace all foreign keys

Correct Answer: B. To uniquely identify each row when single columns cannot

Explanation

Its purpose is row identification, using a combination where one attribute is insufficient.