Answered step by step
Verified Expert Solution
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
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 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 relationStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started