Loading...

The Last Checkout

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

Domain
SQL
Difficulty
medium
Seniority
mid, senior

Problem

For each user, find the most recent date they made a transaction, how many products they bought on that date, and their user ID. Sort the results chronologically by transaction date.

Practice This Problem

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