34. Five Tiers of Product Fame
Classify products into 5 groups based on total quantity sold.
Xorthax wants to divide all products into 5 popularity tiers based on the total quantity sold across the galaxy. Write a query to rank products into these tiers.
Explanation: