Question: Relational Algebra / Calculus Given the following database scheme: CUSTOMER ( Cust# , Cust _ Name, Cust _ City ) ORDER ( Order# , Ord

Relational Algebra /Calculus
Given the following database scheme:
CUSTOMER (Cust#, Cust_Name, Cust_City)
ORDER (Order#, Ord_Date, Cust#, Ord_Amt)
ORDER_ITEM (Order#, Item#, Qty)
ITEM (Item#, Item_Name, Unit_Price)
SHIPMENT (Order#, Warehouse#, Ship_Date)
WAREHOUSE (Warehouse#, Warehouse_City)
WAREHOUSE_ITEM (Item#, Warehouse#, Qty)
Write down relational expressions (either relational algebra or relational calculus) for the following queries.
(a) List the Order# and Ship_Date for all orders shipped from Warehouse# 10.
(b) List Order#, Ord_Date and Ship_Date for orders which have not been shipped (Hint: items are not shipped if
ship_date is null).
(c) Produce a list of Item# that is not found in any warehouse in Melbourne.
(d) List Item#, and Item_Name that are stored in all warehouses in Sydney.
(e) List the Cname and City of the customers who have ordered the most (in terms of money).
 Relational Algebra /Calculus Given the following database scheme: CUSTOMER (Cust#, Cust_Name,

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!