Ask Question
7 February, 12:14

When would you use a composite primary key? Group of answer choices

a. Multi-field attributes

b. A ternary relationship

c. A unary relationship

d. A many-to-many relationship

+5
Answers (2)
  1. 7 February, 14:50
    0
    A. Multi-field attributes

    B. A ternary relationship

    C. A unary relationship
  2. 7 February, 15:40
    0
    d. A many-to-many relationship

    Explanation:

    A composite primary key is the key that uses two or more attributes to uniquely identify any row in a table. These are usually used in associative entity table in which many to many relationship between 2 or more other table exists.

    Example:

    Suppose we have a table which consists of 4 columns:

    student_ID, subject_ID, subject_name and marks.

    Here the student_ID and subject_ID can be combined together to form the composite primary key.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “When would you use a composite primary key? Group of answer choices a. Multi-field attributes b. A ternary relationship c. A unary ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers