Answered step by step
Verified Expert Solution
Question
1 Approved Answer
We are given the following relational database schema for a database that keeps track of student enrollment in courses and the books adopted for
We are given the following relational database schema for a database that keeps track of student enrollment in courses and the books adopted for each course. STUDENT COURSE Course# Cname Dept Ssn Name Major Bdate BOOK ADOPTION Course# Semester Book.ISBN ENROLL Ssn Course# Semester Grade TEXTBOOK ISBN Title Publisher Author a. Consider the COURSE relation. Assuming that names of courses are unique, list all the superkeys, keys, candidate keys, and select a primary key. i. Superkeys: ii. Keys: iii. Candidate keys: iv. Primary key: b. Select and underline the primary key in each relation (in the schema above). Justify your choices and state any assumption that you make. c. Circle all foreign keys and specify the referential integrity constraints by drawing directed arcs on the schema diagram on the previous page. d. Draw an ER diagram that would correspond to the relational schema above. (Drawing by hand is OK.)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
ACOURSE RELATION i Super keys Course Cname Course Cnam...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