engineering computer science MCQ #827

In a relational database, what is a 'foreign key'?

engineering computer science MCQ #827

  1. Question 1

    Q1. In a relational database, what is a 'foreign key'?

    • A) A key that uniquely identifies a record
    • B) A key that references the primary key of another table
    • C) A key used for indexing
    • D) A key used for data encryption

    Answer: A key that references the primary key of another table

    Explanation: A foreign key is a field in a table that references the primary key of another table, establishing a link between them.