Question
1- A STUDENT can take many COURSES and a COURSE can have more than one STUDENT enrolled in the course. In this case, both the
1- A STUDENT can take many COURSES and a COURSE can have more than one STUDENT enrolled in the course. In this case, both the "student_id" and "course_id" primary keys become foreign keys and primary keys in a new entity called COURSE-STUDENT. What is the main reason for creating a new entity?
To reinforce data accuracy
To preserve data completeness
To achieve data consistency
To eliminate possible data redundancy
2- What is a "composite" primary key?
A set of foreign keys | ||
A set of two or more attributes that uniquely identifies an entity instance | ||
An attribute we make up when no primary key is given | ||
A primary key that is difficult to understand |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started