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

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 warehouse

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 General Management Questions!