Design an event sourcing system for a bank account
A medium Data Modeling interview practice problem on DataDriven. Write and execute real data modeling code with instant grading.
- Domain
- Data Modeling
- Difficulty
- medium
Problem
Design an event sourcing system for a bank account. Create an account_events table (the source of truth) and an account_balances materialized view that derives the current state from events.
Practice This Problem
Solve this Data Modeling problem with real code execution. DataDriven runs your solution and grades it automatically.