Answered step by step
Verified Expert Solution
Question
1 Approved Answer
part c only. please have a clearer diagram. Thanks! - Every department has a unique dname. - Every professor has a unique pid. - Every
part c only. please have a clearer diagram. Thanks!
- Every department has a unique dname. - Every professor has a unique pid. - Every student has a unique sid. - Every course has a unique cid. - Every course can be uniquely identified by its cid and cname. - A professor works in exactly one department. - A department contains at least one professor. - A professor can teach any number of courses to a student (it could be zero). a) List all the superkey(s) of "Course". (5 marks) b) List all the candidate key(s) of "Course". (4 marks) c) Assume that cid is a primary key, complete the ER-diagram by adding all missing constraints (weak entity, key constraints, participation constraints and relationship constraints). ( 6 marks) 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