Skip to content
DatabaseQuarters
SQL

Quarters

Split the customers who have ordered into four equal groups by total spend (quantity × price): the biggest spenders in group 1. Give the name and the group number; on equal spend the smaller customer number comes first.

Database

My submissions