Skip to content
SQLSimplified
mediumstorejoingroup-bysum

Customer Total Spend

Problem

Return each customer's name and their total spend (sum of quantity*price), ordered by total_spend descending.

Try It

Loading playground environment...

Hint

Solution

Next Problem