Single Choice Easy

QWhat is a foreign key in a relational database?

ID: #15428 Relational database concepts 127 views
Question Info
#15428Q ID
EasyDifficulty
Relational database conceptsTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A A key used for sorting data in a table
  • B A key used for joining two tables
  • C A key that uniquely identifies a row in a table
  • D A key that represents a relationship between tables
Correct Answer

Explanation

A foreign key is a column or a set of columns in a table that refers to the primary key of another table. It establishes a relationship between two tables by enforcing referential integrity and allowing data to be shared and connected between them.

Share This Question

Challenge a friend or share with your study group.