Please identify what you think should be various candidate keys and write in your own words under what constraints (or conditions) each candidate key would be valid.

Qualified Writers
Rated 4.9/5 based on 2480 reviews

100% Plagiarism Free & Custom Written - Tailored to Your Instructions

Relational Database

INSTRUCTIONS:

Question 1 

Consider the relation CLASS (Course#, Univ_Section#, InstructorName, Semester, BuildingCode, Room#, TimePeriod, Weekdays, CreditHours). This represents classes taught in a university with unique Univ_Section#. Please identify what you think should be various candidate keys and write in your own words under what constraints (or conditions) each candidate key would be valid.



Question 2 

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 (Course#, Quarter, Grade)

ENROLL (SSN, Course#, Quarter, Grade)

BOOK_ADOPTION (Course#, Quarter, Book_ISBN)

TEXT (Book_ISBN, Book_Title, Publisher, Author)

Specify the foreign keys for this schema, stating any assumptions you make.

CONTENT:

Relational Database Name Course Instructor Date Based on the assumptions that the semester is a key candidate depicturing the period of study then it follows that this value varies and helps in building the relational database {Semester, BuildingCode, Room#, TimePeriod, Weekdays} this holds so long as the students cannot be assigned to different courses in the same lecture Room at the same time in the semester {Univ-Section#} holds so long as it is distinctive for all the semesters. {InstructorName, Semester

...
 

Price: £99

100% Plagiarism Free & Custom Written - Tailored to Your Instructions