Question: CAN YOU PLEASE ANSWER QUESTION 'E' Q2: (20 Points) Consider a University that has a main campus and four branch campuses (North, South, East, and

CAN YOU PLEASE ANSWER QUESTION 'E'

CAN YOU PLEASE ANSWER QUESTION 'E' Q2: (20 Points) Consider a University

Q2: (20 Points) Consider a University that has a main campus and four branch campuses (North, South, East, and West). Assume each student have a home campus where they usually register and take classes. However, students can register for any class at any campus. Faculty members teach at a single campus. Each class is offered at a single campus. Assume the following is the centralized database schema: Student (3TUID, lastName, firstName, major, credits, homecampus) Faculty (facia, name, department, rank, homeCampus) Class (classNum, campusoffered, facia, schedule, room) Enroll (stuid, cla33 Num, grade). Assume the distributed university database is designed as follows: 1. Tables Student and Faculty are horizontally fragmented into 5 fragments each according to the 'homeCampus' attribute (StudentMain Studentes, etc.) 2. Table Enroll is fragmented into 5 fragments (EnrollMain etc) using derived horizontal fragmentation with respect to student table. 3- Table class is stored at the main site. For each of the following query, write the query in SQL, draw query operator tree, and specify which sites are involved in the query evaluation: a) List all majors for students who are located at West campus. b) List class numbers for all classes with schedule equal to MWF c) List faculty names for all faculty who are scheduled to teach a class on MWF d) List names of all students who are enrolled in class that is offered at the main campus. e) Find names of all students who a grade of 'A' in class number ICS611

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!