Get startedGet started for free

Ranking customers with window functions

Your manager at Global Retail Analytics wants to know which customers drive the most revenue. The online_retail dataset is already loaded into a Unity Catalog volume.

Use window functions to rank customers by total spending and find the top performers.

This exercise is part of the course

Data Transformation with Spark SQL in Databricks

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise