Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

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

Database Administrator Limited Edition

Authors: Martif Way

1st Edition

B0CGG89N8Z

More Books

Students also viewed these Databases questions

Question

Understand how emergent change occurs.

Answered: 1 week ago

Question

Are robots going to displace all workers? Explain your answer.

Answered: 1 week ago