📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

Which key is used to create a relationship between two tables?

A. Primary key only
B. Foreign key ✅
C. Alternate key only
D. Secondary key

Correct Answer: B. Foreign key

Explanation

The foreign key in one table references the primary key in another, creating the relationship.