Loading...

Highest Daily Spend

A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.

Domain
SQL
Difficulty
medium
Seniority
mid

Problem

Between March 1 and June 1, 2026, find the users with the highest daily spending. If a user placed multiple orders on the same day, sum those amounts. If multiple users tie for the highest daily total on a given date, return all of them. Every username is unique.

Practice This Problem

Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a live PostgreSQL database and grades it instantly.