Which relational database constraint enforces referential integrity by linking a column in one table to the primary key of another table?

Answer and explanation

Correct answer: C. Foreign key constraint

  1. Step 1: A foreign key ensures that child table records can only reference valid existing records in the parent table. Step 2. It prevents orphaned records and maintains relational consistency across tables. Answer: Foreign key constraint. Why not the others: Check constraint validates value ranges; unique constraint prevents duplicates; not null prevents empty fields.

Practise more Computer Systems, Networking and ICT.

Free questions with an explanation for every one, and full timed Bangladesh Civil Service Preliminary Examination mock tests.