SQL++ - Merchant - Finding the most valued shoppers

The marketing team at dimestore wants to e-mail special discount coupons to the top 10 loyal shoppers.

List the top 10 shoppers based on the total amount spent


To run this example, click the button in the top right corner of the code editor.

Code Editor

Output