engineering computer science MCQ #833

What is a composite key in a relational database?

engineering computer science MCQ #833

  1. Question 1

    Q1. What is a composite key in a relational database?

    • A) A single column that uniquely identifies a record
    • B) A combination of two or more columns that uniquely identify a record
    • C) A foreign key that references another table
    • D) A field that stores a large amount of data

    Answer: A combination of two or more columns that uniquely identify a record

    Explanation: A composite key is a combination of two or more columns that uniquely identify a record, used when a single column is not sufficient to uniquely identify a record.