engineering computer science MCQ #741

In a relational database, what is a foreign key?

engineering computer science MCQ #741

  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 that is used for indexing
    • D) A key that is 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 the two tables.