Question: Question 2 An ecommerce website admin panel needs to generate a report to display product stock status in their warehouse. The report should display a
Question
An ecommerce website admin panel needs to generate a report to display product stock status in their warehouse. The report should display a list of all product categories and the total number of products available in each category. It should be limited to products with more than units available.
The result should have the following columns: category title totalstock.
category the name of the product category eg Electronics, Clothing
title the title of the product
totalstocktotal number of items available in stock for that product
The result should be sorted in ascending order by category, then in ascending order by title, and finally in descending order by totalstock.
Note:
Only products with a total stock of more than items should be included in the report.
Schema
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
