Question: Question 1 ( 5 points 1 points per query ) : Student: ( Sid , Student _ name, GPA, Department _ ID ) Department: (
Question points points per query:
Student: Sid Studentname, GPA, DepartmentID
Department: Did Departmentname, address
Course: Cid Coursename, credit, Syllabus
Enroll: CourseID StudentID DepartmentID Grade
DepartmentID in Student relations is a foreign key referencing the primary key of the Department relation. CourseID
StudentID and DepartmentID in the Enroll relation are foreign keys referencing the primary keys of the Course, Student, and
Department, respectively. From the relational schemas illustrated above, use the different relational algebra operators and
operations rho sigma pi discussed in class to build the following queries:
Display names and GPAs of students along with the names of their departments.
Assume students can be in multiple departments: Display students' names in the Computer Science department but not in
the Marketing department.
Display students by name and GPA who received points included in the Operating Systems course.
Display students by names and GPA enrolled in both Computer Networks and Operating Systems courses but not in
the Programming course.
Display students by name and GPA from the Computer Science department who received points or more
included in the Modern Database course and points or more included in the Computer Networks course.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
