Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions