Question: Math with SQL Math with SQL - Exercise #3 A member of the Merchandising team for Monday Boots is expecting a shipment of additional items

Math with SQL - Exercise \#3 A member of the Merchandising team for Monday Boots is expecting a shipment of additional items for one specific product. She wants to see what percentage of the future inventory level for that product is currently in stock. The current level of inventory is represented in the retail. inventory table by the total_on_hand column, while the number of items included in upcoming shipments is represented by the total_on_order column. Combining those two columns would give you the future inventory level. Task Using the retail.inventory table, pull the current stock percentage out of the future stock level for the product with a product_id =21. Want a hint? The percentage can be calculated by dividing the current inventory level by the current inventory level plus the total number of items shipping in the future. Remember your math and the order of onerations. 5/5 - Want another hint? You will need to multiply one of the fields in your calculation by 1.00 to allow there to be decimal values in your answer. Try running your query without doing so to see what result you get
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
