Question: [ SQL Week 2 Question 2 0 0 - 5 0 5 ] You want to report on a certain group of your products. Select
SQL Week Question
You want to report on a certain group of your products. Select
Only customers who have a balance of
Only shipments which were sent by employees whose employee location is California, Maryland, or New York
Only products which have had a shipment
Only employees who have made a shipment
Only customers who have received a shipment
Compute the total quantity of shipments which meet these criteria
Aggregate it by manufacturer and by product name. This means each manufacturerproduct name combination appears on only one row in the table. If a manufacturer makes more than one product, its OK if it shows up once per product.
Sort it descending by the sum of the shipment quantity, so the largest shipment quantity shows up on top. Within shipment quantities, sort it alphabetically on manufacturer and then product name.
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
