engineering computer science MCQ #632

What is a foreign key in a database?

engineering computer science MCQ #632

  1. Question 1

    Q1. What is a foreign key in a database?

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

    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.