Question: Please answer the questions using relational algebra. Customer ( CID , firstname, lastname, street, city, state, zip) Product ( PID , Pname, category, description, unit-price)

Please answer the questions using relational algebra.

Customer (CID, firstname, lastname, street, city, state, zip)

Product (PID, Pname, category, description, unit-price)

ActiveOrders (OrderNo, CID, dollar-amount, order-date, ship-date)

OrderHistory (OrderNo, CID, dollar-amount, order-date, delivery-date)

OrderDetails (OrderNo, PID, quantity)

Primary keys are in bold

ActiveOrders= information about the company currently active orders that are either being processed or being shipped

OrderHistory= past orders that have been delivered

OrderDetails= details each active and past order

1. List the id and name of the products for which David Jones has currently placed order(s).

2. Find the id and name of the customers that currently do not have any orders.

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!