Question
Consider the following GRADEBOOK relational schema describing the data for a grade book of a particular instructor (Note: The attributes A, B, C, and D
Consider the following GRADEBOOK relational schema describing the data for a grade
book of a particular instructor (Note: The attributes A, B, C, and D store grade cutoffs.)
catalog(cno,ctitle)
students(sid,fname,lname,minit)
courses(term,secno,cno,A,B,C,D)
enrolls(sid,term,secno)
Specify and execute the following queries using the RA interpreter on the GRADEBOOK
database schema.
a. Retrieve the names of students enrolled in the Automata class in the term of Fall
1996.
b. Retrieve the SID values of students who have enrolled in CSc226 as well as CSc227.
c. Retrieve the SID values of students who have enrolled in CSc226 or CSc227.
d. Retrieve the names of students who have not enrolled in any class.
e. Retrieve the names of students who have enrolled in all courses in the catalog table.
----------------------------------------------------------------------------------------------------------------------------
I need help on implementing this Querys using the relational algebra interpreter in my windows command prompt
Command Prompt - java edu.gsu.cs.ra.RA company C:\Userslalfre>cd Desktop /Database systems/ch2 C:\Users\alfre\Desktop\Database systems\ch2>java edu.gsu.cs.ra.RA company RA>Step 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