Purchase Log
A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- easy
- Seniority
- L3
Problem
The customer success team is auditing recent purchase activity and needs a human-readable transaction log. For every transaction, show the buyer's username alongside the amount spent and the date of the purchase. Only include transactions that exceed fifty dollars.
Summary
Names on receipts, not just IDs.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a real database and grades it automatically.