📞 0339-0387701 (WhatsApp) Contact

« Back to Database & Data Handling (NCCIA)

Which constraint enforces referential integrity in SQL?

A. FOREIGN KEY ✅
B. UNIQUE
C. CHECK
D. PRIMARY KEY

Correct Answer: A. FOREIGN KEY

Explanation

A FOREIGN KEY constraint links a column to the primary key of another table and the DBMS rejects values with no match.