Question: 1 . ( Use INVENTORY and WAREHOUSE tables ) We want to generate a report to inform warehouse managers about the total quantity of SKUs

1.(Use INVENTORY and WAREHOUSE tables) We want to generate a report to inform warehouse managers about the total quantity of SKUs in their warehouses. Write an SQL statement to display the names of managers, the IDs of the warehouses managed by the managers, and then the sum of QuantityonHand across all the SKUs in their warehouses.
2.(Use INVENTORY and WAREHOUSE tables) We want to generate a report to alert warehouse managers about SKUs out of stock in the warehouses they manage. Write an SQL statement to display the names of managers, the IDs of the warehouses managed by the managers, and then the count of different SKUs whose quantities-on-hand are zeros in the warehouses the managers manage.
3.(Use ORDER_ITEM and SKU_DATA tables, and LEFT JOIN) We want to generate a pricing chart for SKUs. Write an SQL statement to display all SKUs, their description, and their unit price (i.e., the column Price of the ORDER_ITEM table). Display NULL if an SKUs unit price is not available. (Hint: you can use DISTINCT to avoid duplicated records for the same SKU in your results.)
4.(Use ORDER_ITEM and SKU_DATA tables, and LEFT JOIN) We want to generate a sales report for all the SKUs. Write an SQL statement to display all SKUs, their description, and the total quantity of units each SKU has been sold based on the Order_Item table. Display NULL if an SKU has never been sold according to the Order_Item table. Sort the results based on the number of units each SKU has been sold from high to low.Use the following diagram to answer the SQL questions.
 1.(Use INVENTORY and WAREHOUSE tables) We want to generate a report

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!