Loading...
Same-Day Session and Transaction Correlation
A hard SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- hard
- Seniority
- mid
Problem
Find users who started a session and placed a transaction on the same calendar day. For those users, show user ID, the date, total transactions, and total transaction amount for that day.
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.