Join WhatsApp ChannelDaily MCQs & Exam Updates
Computer Science Easy FPSC Uploaded: 23 Aug 2026

What is a foreign key in a database?

  • A A field that must be unique
  • B A type of index
  • C A field that cannot contain data
  • D A field that links to the primary key of another table
Correct Answer: Option D — A field that links to the primary key of another table
Explanation:
A foreign key is a field in one table that references the primary key of another table, establishing and enforcing a relationship between the two related tables.
Submitted by: PaperMCQs
Related MCQs