Question: SQL Provide relational algebra expressions for the following queries EXERCISE CUSTOMER , Type, Firstname, Lastname, Address, City) INVENTORY (ID, ItemName, Type, MadelnStore, SupplierName, Daily AverageSold,
Provide relational algebra expressions for the following queries EXERCISE CUSTOMER , Type, Firstname, Lastname, Address, City) INVENTORY (ID, ItemName, Type, MadelnStore, SupplierName, Daily AverageSold, Price) ORDERS ID, Customer FK, Item FK, Quantity, DeliveryDate) 1. Find the best and worst selling products Best products sell more than 30 units on average, daily Worst product sell 10 units or less on average, daily Show attributes: item id, item name, daily average sold Find average selling products, ordered by the average number of units sold 2. Average products sell between 10 and 30 units, inclusive, per day on average Show attributes: item id, item name, daily average sold
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
