Skip to content
Mad4Study

Banking & Insurance

IBPS PO

  • IBPS PO
  • 2026–27 pattern practice
  • Computer Aptitude
  • DBMS
  • Medium

In a relational database, a foreign key is

Computer Fundamentals

Pick an option to check your answer.

Relational databases link tables through keys. The primary key uniquely identifies each row of a table. A foreign key is a column (or set of columns) in one table whose values must match the primary key of another table, which is how referential integrity between, say, an Orders table and a Customers table is enforced.

Why not the others

  • a column whose values must be unique and can never be NULL in its own table describes a primary key, which identifies each row of its own table; a foreign key may repeat and points to another table.
  • a password used to encrypt the database files confuses a database key with an encryption key; foreign keys are about relationships between tables, not security.
  • an index created only to speed up searches on a large table describes an index; an index improves lookup speed but does not link one table to another.

Report an error

IBPS PO · Computer Aptitude · Computer Fundamentals