DBMS · Question 16 · Easy

A column in the Enrollment table that refers to the primary key of the Student table is called a:

  1. Candidate key
  2. Composite key
  3. Foreign key
  4. Surrogate key
Answer and explanation

Answer: C. Foreign key

Explanation: A foreign key holds values that must match the primary key (or a unique key) of another table, which is how referential integrity between the two tables is enforced.

Previous: Relation R(A, B, C) has the functional dependencies AB → C and C → B. Which is… · Next: Which ACID property guarantees that once a transaction has committed, its…

Practise dbms

Try a fresh set of dbms questions with an explanation after every answer, free and without signing up: DBMS practice. Or sit a full placement mock test.

More dbms questions

More technical & programming practice

SQL · Operating Systems · Computer Networks · Software Engineering · Cloud & DevOps · GenAI Basics · Pseudo-code · C Programming

LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge