Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consder the following database schema: STUDENTSEn, Name, Major, Boate ) COURSE Courses, Cname, Dept ) ENROLL SO CourseE, Quarter, Grade ) BOOK ADOPTION Course Quarter,

Consder the following database schema:
STUDENTSEn, Name, Major, Boate)
COURSE Courses, Cname, Dept)
ENROLL SO CourseE, Quarter, Grade)
BOOK ADOPTION Course Quarter, Book isbn)
TEXTBook son, Book title, Publisher, Author)
The primary key for each relation is underlined in each relation. Specify the foreign keys for this schema (for example, the attribute * or set of atributes of relation R is the foreign key for the relation 2), state any assumptions that you make.
Populate the STUDENT, COURSE and ENROLL tables with a few tuples of related data. What type of constraints from the following constraints (Domain, Key, Entry integrity, and Referential Integrity constraints) can be violated in Relation ENROLL under the following two operations
a) insert operation,
6) Delate operation
of a tuple (or a number of tuples).
Use the editor to formot your answer

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

DB2 9 For Linux UNIX And Windows Advanced Database Administration Certification Certification Study Guide

Authors: Roger E. Sanders, Dwaine R Snow

1st Edition

1583470808, 978-1583470800

More Books

Students also viewed these Databases questions