| Version 4 (modified by , 2 days ago) ( diff ) |
|---|
Complex DB Reports
1. Top Selling Products and Restock Plan
This report is meant to look at the best-selling items over <period of time> to figure out exactly when they will sell out and how products should be repurchased. By calculating how many copies of a specific vinyl, CD, or cassette are sold every day and comparing that speed to what is left in stock, the query will find items that will run out of stock in <period of time>. It then automatically calculates the perfect order amount to keep the store supplied for the next <period of time> without overspending, ensuring top money-makers are never missing from the shelves.
SQL
Relational Algebra
2. Slow Moving Products
This report is meant to look at items that are completely stuck in inventory. The query scans the database to find products that have either never been bought or have had zero sales for more than <period of time>, while also checking if customers are still adding them to their wishlists or ignoring them completely. It multiplies the current unsold stock by the item's original price to show managers exactly how much cash is frozen in dead inventory, making it easy to see which releases need discounts.
SQL
Relational Algebra
3. Impact of Admin Discounts on Sales Numbers
This report checks if discounts and promotions created by product managers actually bring in more profit or just lose money. It monitors sales numbers <period of time> before and <period of time> after an administrator modifies a product to lower its price. By comparing the drop in profit margin per item against the increase in total orders, the query would prove whether the discount caused a big enough wave of new buyers to make the promotion successful or if it just hurt the overall revenue.
