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

Store (Customers/Orders/Products)

Loading database engine...

Hint

Solution

Search

Search lessons, functions, examples, and practice problems