Question: 4- Use the following database schema to write codes for the query cited below in Relational- Algebra (10 pts.) Database schema: (the underlined attributes show

4- Use the following database schema to write codes for the query cited below in Relational- Algebra (10 pts.) Database schema: (the underlined attributes show the primary key for the corresponding relation) S (S#, SNAME, STATUS, CITY) P (P#, PNAME, COLOR, WEIGHT, CITY) SP (S#, P#, QTY) Query: GET PART NAMES FOR THOSE PARTS THAT ARE SHIPPED BY THE SUPPLIERS WHO ALSO SHIP BOTH GREEN AND RED PARTS ( AND NOT ONE OF THEM). (Note: Make sure that the names of red and green parts are not included in the final list of part names)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
