Purchase Log
A easy SQL mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- SQL
- Difficulty
- easy
- Seniority
- L3
Interview Prompt
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.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your sql solution with real code execution
- Get instant feedback and a hire/no-hire decision