Loading...

Purchase Log

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

Domain
SQL
Difficulty
easy

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.

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.