Ask Question

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

+1
Answers (2)
  1. 25 January, 00:58
    0
    A. Multi-field attributes

    B. A ternary relationship

    C. A unary relationship
  2. 25 January, 01:01
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers