Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write the querry below in Relational Algebra Write a query that returns the names of all students that are ready to graduate. A student is

image text in transcribedWrite the querry below in Relational Algebra

Write a query that returns the names of all students that are ready to graduate. A student is ready to graduate if the student fulfills all the following requirements:

1. The student has a GPA of 3.0 or higher

2. The student has taken at least 30 credits of coursework

3. The student is not missing any prerequisite of the courses he/she has taken. That is, for every course the student has taken that has a prerequisite, the student has taken one or more of these prerequisites

Consider the following database schema and example instance: Course Student title Databases dept credits cid CS425 name dept sid 001 Alice CS 002 Bob EE 003 Carol CS 004 David PHYS CS CS595 Database Security CS EE VLSI Design EE 3 591 Microcomputers EE401 4 PHYS571 Radiation Physics PHYS 3 Enroll sid grade gradepoint cid CS425001A CS595 001B CS595 002A EE401 001 A EE401 002 B EE401 004 A 4.0 3.0 4.0 4.0 3.0 4.0 2.0 4.0 Prereq cid pi CS595 CS425 EE591 EE401 PHYS571 002 C PHYS571 004A Hints: Attributes shown with grey background form the primary key of a relation

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

Graph Databases New Opportunities For Connected Data

Authors: Ian Robinson, Jim Webber, Emil Eifrem

2nd Edition

1491930896, 978-1491930892

More Books

Students also viewed these Databases questions

Question

How wide are Salary Structure Ranges?

Answered: 1 week ago