Question: Please write the following queries in relational algebra using the above relational schema 1. List the total value of orders shipped from each warehouse in

Please write the following queries in relational algebra using the above relational schema
1. List the total value of orders shipped from each warehouse in December 2017
2. List the items that have been shipped from every warehouse in the database
CUSTOMER (custNo, cName, city, state) ORDER (orderNo, ordDay, ordmth, order, custno, ordAmt) ORDERITEM (orderNo, itemNo, qty) ITEM (itemNo, unitPrice) SHIPMENT (orderNo, WNo, shipDay, shipMth, shipyr) WAREHOUSE (WNo, wName, city, state) Notes: ordAmt refers to total dollar amount of an order; ordDay, ordMth, ordYr refers to the date the order is placed; shipDay, shipMth, shipYr refers to the date the order is shipped. An order is typically shipped within 7 days, and may be shipped from any warehouse. CUSTOMER (custNo, cName, city, state) ORDER (orderNo, ordDay, ordmth, order, custno, ordAmt) ORDERITEM (orderNo, itemNo, qty) ITEM (itemNo, unitPrice) SHIPMENT (orderNo, WNo, shipDay, shipMth, shipyr) WAREHOUSE (WNo, wName, city, state) Notes: ordAmt refers to total dollar amount of an order; ordDay, ordMth, ordYr refers to the date the order is placed; shipDay, shipMth, shipYr refers to the date the order is shipped. An order is typically shipped within 7 days, and may be shipped from any warehouseStep by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
