Question: Using Relational Algebra Suppose you have five tables: I student ( sID , sname, age, major, aID) --- aID is advisor ID, same for faculty

Using Relational Algebra

Suppose you have five tables:

I student (sID, sname, age, major, aID) --- aID is advisor ID, same for faculty ID. course(cno, cname, credits, dept) faculty (fID, name, dept) take(sID, cno, year, semester, grade) (here, grade: 0-100) teach(fID, cno, year, semester)

Please answer the following queries using relational algebra.

1) Who got lower than average grade in CS100? Show sID.

2) Who is the oldest student? Show sname.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!