engineering computer science MCQ #764

What is the purpose of a 'FOREIGN KEY' constraint?

engineering computer science MCQ #764

  1. Question 1

    Q1. What is the purpose of a 'FOREIGN KEY' constraint?

    • A) To ensure data uniqueness
    • B) To establish relationships between tables
    • C) To limit the range of values in a column
    • D) To manage user permissions

    Answer: To establish relationships between tables

    Explanation: A 'FOREIGN KEY' constraint establishes relationships between tables by linking a column in one table to the primary key of another table.