Question: (20%) Consider the following relations for a database that keeps track of student enrollment in courses and the books adopted for each course: STUDENT (SSN,
(20%) Consider the following relations for a database that keeps track of student enrollment in courses and the books adopted for each course: STUDENT (SSN, Name, Major, Bdate) COURSE (Coursett, Quarter, Grade) ENROLL (SSN, Coursett, Quarter, Grade) BOOK_ADOPTION (Courseff, Quarter, Book_ISBN) TEXT (Book_ISBN, Book_Title, Publisher, Author) First, specify the foreign keys for this schema, stating any assumptions you make. Next, populate the relations with at least 3 sample tuples, and then give an example of an insertion in the ENROLL relation that yiolates the referential integrity constraints and of another insertion that does not
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
