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

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
1
0
units available.The result should have the following columns: category
|
title
|
total
_
stock.category
-
the name of the product category
(
e
.
g
.
,
Electronics, Clothing
)
title
-
the title of the product
total stock
-
total number of items available in stock for that productThe result should be sorted in ascending order by category, then in ascending order by title, and finally in descending order by total
_
stock.Note:
Only products with a total stock of more than
1
0
items should be included in the 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 Databases Questions!